Table of Contents

Operator implicit operator

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

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

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

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

Parameters

stages IPipelineStageDefinition[]

The stages.

Returns

PipelineDefinition<TInput, TOutput>

The result of the conversion.

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

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

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

Parameters

stages List<IPipelineStageDefinition>

The stages.

Returns

PipelineDefinition<TInput, TOutput>

The result of the conversion.

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

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

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

Parameters

stages BsonDocument[]

The stages.

Returns

PipelineDefinition<TInput, TOutput>

The result of the conversion.

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

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

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

Parameters

stages List<BsonDocument>

The stages.

Returns

PipelineDefinition<TInput, TOutput>

The result of the conversion.