SearchDefinitionRenderContextTDocument Constructor |
Namespace:
MongoDB.Driver.Search
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
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