Operator implicit operator
implicit operator ProjectionDefinition<TSource>(BsonDocument)
Performs an implicit conversion from Bson
Parameters
document
BsonDocument The document.
Returns
- Projection
Definition <TSource> The result of the conversion.
implicit operator ProjectionDefinition<TSource>(string)
Performs an implicit conversion from string to ProjectionDefinition<TSource, TProjection>.
Parameters
json
stringThe JSON string.
Returns
- Projection
Definition <TSource> The result of the conversion.