Click or drag to resize

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

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public override 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