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