This repository has been archived on 2024-06-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
thesis-src/Process/Process.Interface/IProcessorChain.cs
2023-08-10 09:04:36 +02:00

21 lines
585 B
C#

using System.Collections.Generic;
namespace Process.Interface;
/// <summary>
/// <see cref="IProcessor"/>, allows to process values through many sub-<see cref="IProcessor"/>s
/// </summary>
public interface IProcessorChain : IProcessor
{
/// <summary>
/// Collection containing the applicable <see cref="IProcessor"/>s for this <see cref="IProcessorChain"/>
/// </summary>
ICollection<IProcessor> Processors { get; }
}
/// <inheritdoc cref="IProcessorChain" />
public interface IProcessorChain<in TInput, out TOutput>
: IProcessorChain, IProcessor<TInput, TOutput>
{
}