Constructor RenderedFieldDefinition
RenderedFieldDefinition(string, IBsonSerializer<TField>)
Initializes a new instance of the RenderedFieldDefinition<TField> class.
[Obsolete("Use the constructor that takes 4 arguments instead.")]
public RenderedFieldDefinition(string fieldName, IBsonSerializer<TField> fieldSerializer)
Parameters
fieldName
stringThe field name.
fieldSerializer
IBsonSerializer<TField>The field serializer.
RenderedFieldDefinition(string, IBsonSerializer<TField>, IBsonSerializer<TField>, IBsonSerializer)
Initializes a new instance of the RenderedFieldDefinition<TField> class.
public RenderedFieldDefinition(string fieldName, IBsonSerializer<TField> fieldSerializer, IBsonSerializer<TField> valueSerializer, IBsonSerializer underlyingSerializer)
Parameters
fieldName
stringThe field name.
fieldSerializer
IBsonSerializer<TField>The field serializer.
valueSerializer
IBsonSerializer<TField>The value serializer.
underlyingSerializer
IBsonSerializerThe underlying serializer.