Click or drag to resize

FieldDefinition<TDocument, TField>.Render Method (IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider, Boolean)

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax
public virtual RenderedFieldDefinition<TField> Render(
	IBsonSerializer<TDocument> documentSerializer,
	IBsonSerializerRegistry serializerRegistry,
	LinqProvider linqProvider,
	bool allowScalarValueForArrayField
)

Parameters

documentSerializer
Type: MongoDB.Bson.Serialization.IBsonSerializer<TDocument>
The document serializer.
serializerRegistry
Type: MongoDB.Bson.Serialization.IBsonSerializerRegistry
The serializer registry.
linqProvider
Type: MongoDB.Driver.Linq.LinqProvider
The LINQ provider.
allowScalarValueForArrayField
Type: System.Boolean
Whether a scalar value is allowed for an array field.

Return Value

Type: RenderedFieldDefinition<TField>
A RenderedFieldDefinition<TField>.
See Also