20 lines
493 B
C#
20 lines
493 B
C#
using System.Collections.Generic;
|
|
using System.Threading;
|
|
|
|
using MfGames.Gallium;
|
|
|
|
namespace MfGames.Nitride;
|
|
|
|
public interface IOperation
|
|
{
|
|
/// <summary>
|
|
/// Runs the input entities through the operation and returns the results.
|
|
/// </summary>
|
|
/// <param name="input"></param>
|
|
/// <param name="cancellationToken"></param>
|
|
/// <returns></returns>
|
|
IEnumerable<Entity> Run(
|
|
IEnumerable<Entity> input,
|
|
CancellationToken cancellationToken = default);
|
|
}
|