Class CreateViewOptionsWrapper
Represents a wrapped object that can be used where an IMongoCreateViewOptions is expected (the wrapped object is expected to serialize properly).
[BsonSerializer(typeof(CreateViewOptionsWrapper.Serializer))]
public class CreateViewOptionsWrapper : BaseWrapper, IMongoCreateViewOptions
- Inheritance
-
CreateViewOptionsWrapper
- Implements
- Inherited Members
- Extension Methods
Constructors
CreateViewOptionsWrapper(object)
Initializes a new instance of the CreateViewOptionsWrapper class.
public CreateViewOptionsWrapper(object options)
Parameters
options
objectThe wrapped object.
Methods
Create(object)
Creates a new instance of the CreateViewOptionsWrapper class.
public static CreateViewOptionsWrapper Create(object options)
Parameters
options
objectThe wrapped object.
Returns
- CreateViewOptionsWrapper
A new instance of CreateViewOptionsWrapper or null.