Table of Contents

Class PipelineStageDefinition<TInput, TOutput>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Base class for pipeline stages.

public abstract class PipelineStageDefinition<TInput, TOutput> : IPipelineStageDefinition

Type Parameters

TInput

The type of the input.

TOutput

The type of the output.

Inheritance
PipelineStageDefinition<TInput, TOutput>
Implements
Derived
Inherited Members

Properties

InputType

Gets the type of the input.

OperatorName

Gets the name of the pipeline operator.

OutputType

Gets the type of the output.

Methods

Render(RenderArgs<TInput>)

Renders the specified document serializer.

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 PipelineStageDefinition<TInput, TOutput>(BsonDocument)

Performs an implicit conversion from BsonDocument to PipelineStageDefinition<TInput, TOutput>.

implicit operator PipelineStageDefinition<TInput, TOutput>(string)

Performs an implicit conversion from string to PipelineStageDefinition<TInput, TOutput>.