Class ContentProcessor<TInput, TOutput>
Provides a base class to use when developing custom processor components. All processors must derive from this class.
public abstract class ContentProcessor<TInput, TOutput> : IContentProcessor
Type Parameters
TInput
- Provides a base class to use when developing custom processor components. All processors must derive from this class.
TOutput
- Provides a base class to use when developing custom processor components. All processors must derive from this class.
- Inheritance
-
ContentProcessor<TInput, TOutput>
- Implements
- Derived
- Inherited Members
Constructors
ContentProcessor()
Initializes a new instance of the ContentProcessor class.
protected ContentProcessor()
Methods
Process(TInput, ContentProcessorContext)
Processes the specified input data and returns the result.
public abstract TOutput Process(TInput input, ContentProcessorContext context)
Parameters
input
TInputExisting content object being processed.
context
ContentProcessorContextContains any required custom process parameters.
Returns
- TOutput
A typed object representing the processed input.