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