Operator implicit operator
implicit operator Command<TResult>(BsonDocument)
Performs an implicit conversion from Bson
Parameters
document
BsonDocument The document.
Returns
- Command<TResult>
The result of the conversion.
implicit operator Command<TResult>(string)
Performs an implicit conversion from string to Command<TResult>.
Parameters
json
stringThe JSON string.
Returns
- Command<TResult>
The result of the conversion.