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
TNominalTypeThe 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
nominalTypeTypeThe nominal type of the wrapped object.
valuesIEnumerableA list of wrapped objects.
Returns
- IEnumerable<BsonDocumentWrapper>
A list of BsonDocumentWrappers.