This repository has been archived on 2023-02-02. You can view files and clone it, but cannot push or open issues or pull requests.
mfgames-nitride-cil/src/MfGames.Nitride.IO/FileSystemOperationBase.cs
D. Moonfire 2892ec3445
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
feat!: added cancellation token support to pipelines and operations
2023-01-17 19:24:09 -06:00

24 lines
510 B
C#

using System.Collections.Generic;
using System.Threading;
using MfGames.Gallium;
using Zio;
namespace MfGames.Nitride.IO;
public abstract class FileSystemOperationBase : IOperation
{
protected FileSystemOperationBase(IFileSystem fileSystem)
{
this.FileSystem = fileSystem;
}
public IFileSystem FileSystem { get; set; }
/// <inheritdoc />
public abstract IEnumerable<Entity> Run(
IEnumerable<Entity> input,
CancellationToken cancellationToken = default);
}