mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-04 20:47:56 +01:00
28 lines
565 B
C#
28 lines
565 B
C#
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace Ryujinx.HLE.HOS.Tamper.Operations
|
||
|
{
|
||
|
class Block : IOperation
|
||
|
{
|
||
|
private IEnumerable<IOperation> _operations;
|
||
|
|
||
|
public Block(IEnumerable<IOperation> operations)
|
||
|
{
|
||
|
_operations = operations;
|
||
|
}
|
||
|
|
||
|
public Block(params IOperation[] operations)
|
||
|
{
|
||
|
_operations = operations;
|
||
|
}
|
||
|
|
||
|
public void Execute()
|
||
|
{
|
||
|
foreach (IOperation op in _operations)
|
||
|
{
|
||
|
op.Execute();
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|