Class RenderedFieldDefinition<TField>
A rendered field.
public sealed class RenderedFieldDefinition<TField>
Type Parameters
TField
The type of the field.
- Inheritance
-
RenderedFieldDefinition<TField>
- Inherited Members
Constructors
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.
Properties
FieldName
Gets the field name.
public string FieldName { get; }
Property Value
FieldSerializer
Gets the field serializer.
public IBsonSerializer<TField> FieldSerializer { get; }
Property Value
- IBsonSerializer<TField>
UnderlyingSerializer
Gets the underlying serializer.
public IBsonSerializer UnderlyingSerializer { get; }
Property Value
ValueSerializer
Gets the value serializer.
public IBsonSerializer<TField> ValueSerializer { get; }
Property Value
- IBsonSerializer<TField>