Method Create
Create<TNominalType>(TNominalType)
Creates a new instance of the BsonDocumentWrapper class.
public static BsonDocumentWrapper Create<TNominalType>(TNominalType value)
Parameters
value
TNominalTypeThe wrapped object.
Returns
- BsonDocumentWrapper
A BsonDocumentWrapper.
Type Parameters
TNominalType
The nominal type of the wrapped object.
Create(Type, object)
Creates a new instance of the BsonDocumentWrapper class.
public static BsonDocumentWrapper Create(Type nominalType, object value)
Parameters
Returns
- BsonDocumentWrapper
A BsonDocumentWrapper.