Operator implicit operator
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
BsonDocumentThe 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
stringThe JSON string.
Returns
- PipelineStageDefinition<TInput, TOutput>
The result of the conversion.