Constructor ObjectCommand
ObjectCommand(object, IBsonSerializer<TResult>)
Initializes a new instance of the ObjectCommand<TResult> class.
Parameters
obj
objectThe object.
resultSerializer
IBsonSerializer <TResult>The result serializer.
Initializes a new instance of the ObjectCommand<TResult> class.
obj
objectThe object.
resultSerializer
IBsonThe result serializer.