Table of Contents

Class ObjectCommand<TResult>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

An Object based command.

public sealed class ObjectCommand<TResult> : Command<TResult>

Type Parameters

TResult

The type of the result.

Inheritance
Command<TResult>
ObjectCommand<TResult>
Inherited Members

Constructors

ObjectCommand(object, IBsonSerializer<TResult>)

Initializes a new instance of the ObjectCommand<TResult> class.

Properties

Object

Gets the object.

ResultSerializer

Gets the result serializer.

Methods

Render(IBsonSerializerRegistry)

Renders the command to a RenderedCommand<TResult>.