PipelineDefinitionBuilderForTInput Method |
Used to start creating a pipeline for {TInput} documents.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public static PipelineDefinition<TInput, TInput> For<TInput>(
IBsonSerializer<TInput> inputSerializer = null
)
Public Shared Function For(Of TInput) (
Optional inputSerializer As IBsonSerializer(Of TInput) = Nothing
) As PipelineDefinition(Of TInput, TInput)
static member For :
?inputSerializer : IBsonSerializer<'TInput>
(* Defaults:
let _inputSerializer = defaultArg inputSerializer null
*)
-> PipelineDefinition<'TInput, 'TInput>
Parameters
- inputSerializer (Optional)
- Type: MongoDB.Bson.SerializationIBsonSerializerTInput
The inputSerializer serializer.
Type Parameters
- TInput
- The type of the output.
Return Value
Type:
PipelineDefinitionTInput,
TInputAn empty pipeline.
See Also