Method Create
Create<TValue>(IBsonSerializer<TValue>)
Creates an instance of AggregateBucketAutoResultIdSerializer.
public static IBsonSerializer<AggregateBucketAutoResultId<TValue>> Create<TValue>(IBsonSerializer<TValue> valueSerializer)
Parameters
valueSerializer
IBsonSerializer<TValue>The value serializer.
Returns
- IBsonSerializer<AggregateBucketAutoResultId<TValue>>
A AggregateBucketAutoResultIdSerializer.
Type Parameters
TValue
The value type.