Class JsonCommand<TResult>
A JSON string based command.
Type Parameters
TResult
The type of the result.
- Inheritance
-
Command<TResult>JsonCommand<TResult>
- Inherited Members
Constructors
- JsonCommand(string, IBsonSerializer<TResult>)
Initializes a new instance of the JsonCommand<TResult> class.
Properties
- Json
Gets the json.
- Result
Serializer Gets the result serializer.
Methods
- Render(IBson
Serializer Registry) Renders the command to a RenderedCommand<TResult>.