Table of Contents

Class ReplaceOutputSerializerPipelineDefinition<TInput, TIntermediate, TOutput>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Represents a pipeline with the output serializer replaced.

public sealed class ReplaceOutputSerializerPipelineDefinition<TInput, TIntermediate, TOutput> : PipelineDefinition<TInput, TOutput>

Type Parameters

TInput

The type of the input documents.

TIntermediate

The type of the intermediate documents.

TOutput

The type of the output documents.

Inheritance
PipelineDefinition<TInput, TOutput>
ReplaceOutputSerializerPipelineDefinition<TInput, TIntermediate, TOutput>
Inherited Members
Extension Methods

Constructors

ReplaceOutputSerializerPipelineDefinition(PipelineDefinition<TInput, TIntermediate>, IBsonSerializer<TOutput>)

public ReplaceOutputSerializerPipelineDefinition(PipelineDefinition<TInput, TIntermediate> pipeline, IBsonSerializer<TOutput> outputSerializer = null)

Parameters

pipeline PipelineDefinition<TInput, TIntermediate>

The pipeline.

outputSerializer IBsonSerializer<TOutput>

The output serializer.

See Also
PipelineDefinition<TInput, TOutput>

Properties

OutputSerializer

Gets the output serializer.

public override IBsonSerializer<TOutput> OutputSerializer { get; }

Property Value

IBsonSerializer<TOutput>
See Also
PipelineDefinition<TInput, TOutput>

Stages

Gets the stages.

public override IEnumerable<IPipelineStageDefinition> Stages { get; }

Property Value

IEnumerable<IPipelineStageDefinition>
See Also
PipelineDefinition<TInput, TOutput>

Methods

Render(IBsonSerializer<TInput>, IBsonSerializerRegistry, LinqProvider)

Renders the pipeline.

public override RenderedPipelineDefinition<TOutput> 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<TOutput>

A RenderedPipelineDefinition<TOutput>

See Also
PipelineDefinition<TInput, TOutput>

See Also

PipelineDefinition<TInput, TOutput>