Method Render
Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)
Renders the field to a RenderedFieldDefinition<TField>.
public override RenderedFieldDefinition<TField> Render(IBsonSerializer<TDocument> documentSerializer, IBsonSerializerRegistry serializerRegistry, LinqProvider linqProvider)
Parameters
documentSerializer
IBsonSerializer <TDocument>The document serializer.
serializerRegistry
IBsonSerializer Registry The serializer registry.
linqProvider
LinqProvider The LINQ provider.
Returns
Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider, bool)
Renders the field to a RenderedFieldDefinition<TField>.
public override RenderedFieldDefinition<TField> Render(IBsonSerializer<TDocument> documentSerializer, IBsonSerializerRegistry serializerRegistry, LinqProvider linqProvider, bool allowScalarValueForArrayField)
Parameters
documentSerializer
IBsonSerializer <TDocument>The document serializer.
serializerRegistry
IBsonSerializer Registry The serializer registry.
linqProvider
LinqProvider The LINQ provider.
allowScalarValueForArrayField
boolWhether a scalar value is allowed for an array field.