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
values
IEnumerable<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
nominalType
TypeThe nominal type of the wrapped object.
values
IEnumerableA list of wrapped objects.
Returns
- IEnumerable<BsonDocumentWrapper>
A list of BsonDocumentWrappers.