-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Marty Mathis edited this page Jan 20, 2019
·
17 revisions
A cross-platform library supporting .NET 4.6 and netstandard2.0
, PipelineFramework allows you to construct complex linear workflows out a set of components you create.
Pipelines are constructed using a set of components that are resolved using implementations of the following interface:
public interface IPipelineComponentResolver
{
T GetInstance<T>(string name) where T : IPipelineComponent;
}
Both pipeline types AsyncPipeline<T>
and Pipeline<T>
provide two constructors which can be used to build pipelines.
public AsyncPipeline(
IPipelineComponentResolver resolver,
IEnumerable<string> componentNames,
IDictionary<string, IDictionary<string, string>> settings)
public AsyncPipeline(
IPipelineComponentResolver resolver,
IEnumerable<Type> componentTypes,
IDictionary<string, IDictionary<string, string>> settings)
and
public Pipeline(
IPipelineComponentResolver resolver,
IEnumerable<string> componentNames,
IDictionary<string, IDictionary<string, string>> settings)
public Pipeline(
IPipelineComponentResolver resolver,
IEnumerable<Type> componentTypes,
IDictionary<string, IDictionary<string, string>> settings)