Operator implicit operator
implicit operator AggregateExpressionDefinition<TSource, TResult>(BsonValue)
Performs an implicit conversion from BsonValue to AggregateExpressionDefinition<TSource, TResult>.
public static implicit operator AggregateExpressionDefinition<TSource, TResult>(BsonValue expression)
Parameters
expression
BsonValueThe expression.
Returns
- AggregateExpressionDefinition<TSource, TResult>
The result of the conversion.
implicit operator AggregateExpressionDefinition<TSource, TResult>(string)
Performs an implicit conversion from string to AggregateExpressionDefinition<TSource, TResult>.
public static implicit operator AggregateExpressionDefinition<TSource, TResult>(string expression)
Parameters
expression
stringThe expression.
Returns
- AggregateExpressionDefinition<TSource, TResult>
The result of the conversion.