Table of Contents

Class JsonPipelineStageDefinition<TInput, TOutput>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

A JSON string based pipeline stage.

public sealed class JsonPipelineStageDefinition<TInput, TOutput> : PipelineStageDefinition<TInput, TOutput>, IPipelineStageDefinition

Type Parameters

TInput

The type of the input.

TOutput

The type of the output.

Inheritance
PipelineStageDefinition<TInput, TOutput>
JsonPipelineStageDefinition<TInput, TOutput>
Implements
Inherited Members

Constructors

JsonPipelineStageDefinition(string, IBsonSerializer<TOutput>)

Initializes a new instance of the JsonPipelineStageDefinition<TInput, TOutput> class.

Properties

Json

Gets the json.

OperatorName

Gets the name of the pipeline operator.

OutputSerializer

Gets the output serializer.

Methods

Render(RenderArgs<TInput>)

Renders the specified document serializer.