Class CommandWrapper
Represents a wrapped object that can be used where an IMongoCommand is expected (the wrapped object is expected to serialize properly).
[BsonSerializer(typeof(CommandWrapper.Serializer))]
public class CommandWrapper : QueryWrapper, IMongoCommand, IMongoQuery
- Inheritance
-
CommandWrapper
- Implements
- Inherited Members
- Extension Methods
Constructors
- CommandWrapper(object)
Initializes a new instance of the CommandWrapper class.
Methods
- Create(object)
Creates a new instance of the CommandWrapper class.