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(IBsonSerializer<TInput>, IBsonSerializerRegistry)

Renders the pipeline.

Render(IBsonSerializer<TInput>, IBsonSerializerRegistry, LinqProvider)

Renders the pipeline.

ToString()
ToString(IBsonSerializer<TInput>, IBsonSerializerRegistry)

Returns a string that represents this instance.

ToString(IBsonSerializer<TInput>, IBsonSerializerRegistry, LinqProvider)

Returns a string that represents this instance.

ToString(LinqProvider)

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>.