Table of Contents

Operator implicit operator

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

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 BsonValue

The 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 string

The expression.

Returns

AggregateExpressionDefinition<TSource, TResult>

The result of the conversion.