Class ReplaceOutputSerializerPipelineDefinition<TInput, TIntermediate, TOutput>
Represents a pipeline with the output serializer replaced.
public sealed class ReplaceOutputSerializerPipelineDefinition<TInput, TIntermediate, TOutput> : PipelineDefinition<TInput, TOutput>
Type Parameters
TInput
The type of the input documents.
TIntermediate
The type of the intermediate documents.
TOutput
The type of the output documents.
- Inheritance
-
PipelineDefinition<TInput, TOutput>ReplaceOutputSerializerPipelineDefinition<TInput, TIntermediate, TOutput>
- Inherited Members
- Extension Methods
Constructors
ReplaceOutputSerializerPipelineDefinition(PipelineDefinition<TInput, TIntermediate>, IBsonSerializer<TOutput>)
Initializes a new instance of the ReplaceOutputSerializerPipelineDefinition<TInput, TIntermediate, TOutput> class.
public ReplaceOutputSerializerPipelineDefinition(PipelineDefinition<TInput, TIntermediate> pipeline, IBsonSerializer<TOutput> outputSerializer = null)
Parameters
pipeline
PipelineDefinition<TInput, TIntermediate>The pipeline.
outputSerializer
IBsonSerializer<TOutput>The output serializer.
- See Also
-
PipelineDefinition<TInput, TOutput>
Properties
OutputSerializer
Gets the output serializer.
public override IBsonSerializer<TOutput> OutputSerializer { get; }
Property Value
- IBsonSerializer<TOutput>
- See Also
-
PipelineDefinition<TInput, TOutput>
Stages
Gets the stages.
public override IEnumerable<IPipelineStageDefinition> Stages { get; }
Property Value
- See Also
-
PipelineDefinition<TInput, TOutput>
Methods
Render(IBsonSerializer<TInput>, IBsonSerializerRegistry, LinqProvider)
Renders the pipeline.
public override RenderedPipelineDefinition<TOutput> Render(IBsonSerializer<TInput> inputSerializer, IBsonSerializerRegistry serializerRegistry, LinqProvider linqProvider)
Parameters
inputSerializer
IBsonSerializer<TInput>The input serializer.
serializerRegistry
IBsonSerializerRegistryThe serializer registry.
linqProvider
LinqProviderThe LINQ provider.
Returns
- See Also
-
PipelineDefinition<TInput, TOutput>
See Also
PipelineDefinition<TInput, TOutput>