Class JsonCommand<TResult>
A JSON string based command.
public sealed class JsonCommand<TResult> : Command<TResult>
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.
- ResultSerializer
Gets the result serializer.
Methods
- Render(IBsonSerializerRegistry)
Renders the command to a RenderedCommand<TResult>.