SearchDefinitionRenderContextTDocument Constructor |
Namespace:
MongoDB.Driver.Search
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public SearchDefinitionRenderContext(
IBsonSerializer<TDocument> documentSerializer,
IBsonSerializerRegistry serializerRegistry,
string pathPrefix = null
)
Public Sub New (
documentSerializer As IBsonSerializer(Of TDocument),
serializerRegistry As IBsonSerializerRegistry,
Optional pathPrefix As String = Nothing
)
new :
documentSerializer : IBsonSerializer<'TDocument> *
serializerRegistry : IBsonSerializerRegistry *
?pathPrefix : string
(* Defaults:
let _pathPrefix = defaultArg pathPrefix null
*)
-> SearchDefinitionRenderContext
Parameters
- documentSerializer
- Type: MongoDB.Bson.SerializationIBsonSerializerTDocument
The document serializer. - serializerRegistry
- Type: MongoDB.Bson.SerializationIBsonSerializerRegistry
The serializer registry. - pathPrefix (Optional)
- Type: SystemString
The path prefix.
See Also