Method CreateMultiple
CreateMultiple<TNominalType>(IEnumerable<TNominalType>)
Creates a list of new instances of the BsonDocumentWrapper class.
public static IEnumerable<BsonDocumentWrapper> CreateMultiple<TNominalType>(IEnumerable<TNominalType> values)Parameters
- valuesIEnumerable<TNominalType>
- A list of wrapped objects. 
Returns
- IEnumerable<BsonDocumentWrapper>
- A list of BsonDocumentWrappers. 
Type Parameters
- TNominalType
- The nominal type of the wrapped objects. 
CreateMultiple(Type, IEnumerable)
Creates a list of new instances of the BsonDocumentWrapper class.
public static IEnumerable<BsonDocumentWrapper> CreateMultiple(Type nominalType, IEnumerable values)Parameters
- nominalTypeType
- The nominal type of the wrapped object. 
- valuesIEnumerable
- A list of wrapped objects. 
Returns
- IEnumerable<BsonDocumentWrapper>
- A list of BsonDocumentWrappers.