Class AggregateFacet<TInput>
Represents a facet to be passed to the Facet method.
Type Parameters
TInput
The type of the input documents.
- Inheritance
-
AggregateFacet<TInput>
- Derived
- Inherited Members
Constructors
AggregateFacet(string)
Initializes a new instance of the AggregateFacet<TInput> class.
Parameters
name
stringThe facet name.
Properties
Name
Gets the facet name.
Property Value
OutputSerializer
Gets the output serializer.
Property Value
OutputType
Gets the type of the output documents.
Property Value
Methods
RenderPipeline(IBsonSerializer<TInput>, IBsonSerializerRegistry, LinqProvider)
Renders the facet pipeline.
public abstract BsonArray RenderPipeline(IBsonSerializer<TInput> inputSerializer, IBsonSerializerRegistry serializerRegistry, LinqProvider linqProvider)
Parameters
inputSerializer
IBsonSerializer <TInput>The input serializer.
serializerRegistry
IBsonSerializer Registry The serializer registry.
linqProvider
LinqProvider The LINQ provider.
Returns
- Bson
Array The rendered pipeline.