Table of Contents

Operator implicit operator

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

implicit operator PipelineStageDefinition<TInput, TOutput>(BsonDocument)

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

public static implicit operator PipelineStageDefinition<TInput, TOutput>(BsonDocument document)

Parameters

document BsonDocument

The document.

Returns

PipelineStageDefinition<TInput, TOutput>

The result of the conversion.

implicit operator PipelineStageDefinition<TInput, TOutput>(string)

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

public static implicit operator PipelineStageDefinition<TInput, TOutput>(string json)

Parameters

json string

The JSON string.

Returns

PipelineStageDefinition<TInput, TOutput>

The result of the conversion.