Click or drag to resize

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

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public override RenderedFieldDefinition<TField> Render(
	IBsonSerializer<TDocument> documentSerializer,
	IBsonSerializerRegistry serializerRegistry,
	bool allowScalarValueForArrayField
)

Parameters

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

Return Value

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