Operator implicit operator
implicit operator PipelineDefinition<TInput, TOutput>(IPipelineStageDefinition[])
Performs an implicit conversion from IPipeline
public static implicit operator PipelineDefinition<TInput, TOutput>(IPipelineStageDefinition[] stages)
Parameters
stages
IPipelineStage []Definition The stages.
Returns
- Pipeline
Definition <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<IPipelineStage >Definition The stages.
Returns
- Pipeline
Definition <TInput, TOutput> The result of the conversion.
implicit operator PipelineDefinition<TInput, TOutput>(BsonDocument[])
Performs an implicit conversion from Bson
Parameters
stages
BsonDocument []The stages.
Returns
- Pipeline
Definition <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>.
Parameters
stages
List<BsonDocument >The stages.
Returns
- Pipeline
Definition <TInput, TOutput> The result of the conversion.