Method As
As<TNewResult>(IBsonSerializer<TNewResult>)
Changes the result type of the pipeline.
public abstract IAggregateFluent<TNewResult> As<TNewResult>(IBsonSerializer<TNewResult> newResultSerializer)
Parameters
newResultSerializer
IBsonSerializer <TNewResult>The new result serializer.
Returns
- IAggregate
Fluent <TNewResult> The fluent aggregate interface.
Type Parameters
TNewResult
The type of the new result.