Table of Contents

Class EmptyPipelineDefinition<TInput>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

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

IEnumerable<IPipelineStageDefinition>

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 IBsonSerializerRegistry

The serializer registry.

linqProvider LinqProvider

The LINQ provider.

Returns

RenderedPipelineDefinition<TInput>

A RenderedPipelineDefinition<TOutput>