Class PipelineTask<TPayload>
Base class for pipeline tasks. Used in simpler scenarios.
Inheritance
System.Object
PipelineTask<TPayload>
Implements
IPipelineTask<TPayload>
Namespace: Edgar.Unity
Assembly: cs.temp.dll.dll
Syntax
public abstract class PipelineTask<TPayload> : IPipelineTask<TPayload> where TPayload : class
Type Parameters
Name | Description |
---|---|
TPayload | Type of the payload |
Properties
Payload
Payload object.
Declaration
public TPayload Payload { get; set; }
Property Value
Type | Description |
---|---|
TPayload |
Methods
Process()
Method containing all the logic of the task.
Declaration
public abstract IEnumerator Process()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Remarks
When this method is called, the Payload property is already set.