Operator implicit operator
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.