Table of Contents

Class PipelineDefinition<TInput, TOutput>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Base class for a pipeline.

public abstract class PipelineDefinition<TInput, TOutput>

Type Parameters

TInput

The type of the input.

TOutput

The type of the output.

Inheritance
PipelineDefinition<TInput, TOutput>
Derived
Inherited Members
Extension Methods

Properties

OutputSerializer

Gets the output serializer.

Stages

Gets the stages.

Methods

Create(params BsonDocument[])

Creates a pipeline.

Create(IEnumerable<BsonDocument>, IBsonSerializer<TOutput>)

Creates a pipeline.

Create(IEnumerable<IPipelineStageDefinition>, IBsonSerializer<TOutput>)

Creates a pipeline.

Create(IEnumerable<string>, IBsonSerializer<TOutput>)

Creates a pipeline.

Create(params string[])

Creates a pipeline.

Render(RenderArgs<TInput>)

Renders the pipeline.

ToString()

Returns a string that represents the current object.

ToString(IBsonSerializer<TInput>, IBsonSerializerRegistry)

Returns a string that represents this instance.

ToString(IBsonSerializer<TInput>, IBsonSerializerRegistry, ExpressionTranslationOptions)

Returns a string that represents this instance.

Operators

implicit operator PipelineDefinition<TInput, TOutput>(BsonDocument[])

Performs an implicit conversion from BsonDocument[] to PipelineDefinition<TInput, TOutput>.

implicit operator PipelineDefinition<TInput, TOutput>(IPipelineStageDefinition[])

Performs an implicit conversion from IPipelineStageDefinition[] to PipelineDefinition<TInput, TOutput>.

implicit operator PipelineDefinition<TInput, TOutput>(List<BsonDocument>)

Performs an implicit conversion from List<T> to PipelineDefinition<TInput, TOutput>.

implicit operator PipelineDefinition<TInput, TOutput>(List<IPipelineStageDefinition>)

Performs an implicit conversion from List<T> to PipelineDefinition<TInput, TOutput>.