File tree Expand file tree Collapse file tree 3 files changed +30
-5
lines changed Expand file tree Collapse file tree 3 files changed +30
-5
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,23 @@ namespace Simplify.Pipelines.Processing
44 /// Represent pipeline
55 /// </summary>
66 /// <typeparam name="T"></typeparam>
7- public interface IPipeline < in T >
7+ public interface IPipeline < T >
88 {
9+ /// <summary>
10+ /// Occurs when pipeline is about to execute.
11+ /// </summary>
12+ event PipelineAction < T > OnPipelineStart ;
13+
14+ /// <summary>
15+ /// Occurs when pipeline has finished it's execution.
16+ /// </summary>
17+ event PipelineAction < T > OnPipelineEnd ;
18+
19+ /// <summary>
20+ /// Occurs when pipeline stage has finished it's execution.
21+ /// </summary>
22+ event PipelineStageAction < T > OnStageExecuted ;
23+
924 /// <summary>
1025 /// Process item through pipeline.
1126 /// </summary>
Original file line number Diff line number Diff line change 44 /// Represent conveyor
55 /// </summary>
66 /// <typeparam name="T">Conveyor item type</typeparam>
7- public interface IConveyor < in T >
7+ public interface IConveyor < T >
88 {
9+ /// <summary>
10+ /// Occurs when conveyor is about to execute.
11+ /// </summary>
12+ event ConveyorAction < T > OnConveyorStart ;
13+
14+ /// <summary>
15+ /// Occurs when conveyor stage has finished it's execution.
16+ /// </summary>
17+ event ConveyorStageAction < T > OnStageExecuted ;
18+
919 /// <summary>
1020 /// Executes the specified item thru conveyor.
1121 /// </summary>
Original file line number Diff line number Diff line change 55 <Product >Simplify</Product >
66 <Description >Pipelines processing, validation patterns</Description >
77 <Copyright >Licensed under LGPL</Copyright >
8- <Version >0.6 </Version >
8+ <Version >0.7 </Version >
99 <PackageProjectUrl >https://github.com/SimplifyNet/Simplify</PackageProjectUrl >
1010 <PackageIconUrl >https://raw.githubusercontent.com/SimplifyNet/Images/master/Logo.png</PackageIconUrl >
1111 <RepositoryUrl >https://github.com/SimplifyNet/Simplify/tree/master/src/Simplify.Pipelines</RepositoryUrl >
1212 <RepositoryType >GIT</RepositoryType >
1313 <PackageTags >.NET pipelines</PackageTags >
1414 <PackageReleaseNotes >
1515 New
16- * Pipeline events
17- * Conveyor events
16+ * Pipeline events added to interface
17+ * Conveyor events added to interface
1818 </PackageReleaseNotes >
1919 <OutputPath >bin\Any CPU\$(Configuration)\</OutputPath >
2020 <DocumentationFile >bin\Any CPU\$(Configuration)\$(TargetFramework)\Simplify.Pipelines.xml</DocumentationFile >
You can’t perform that action at this time.
0 commit comments