Method Create
Create<TInput, TOutput>(string, PipelineDefinition<TInput, TOutput>)
Creates a new instance of the AggregateFacet<TInput, TOutput> class.
public static AggregateFacet<TInput, TOutput> Create<TInput, TOutput>(string name, PipelineDefinition<TInput, TOutput> pipeline)
Parameters
namestringThe facet name.
pipelinePipelineDefinition<TInput, TOutput>The facet pipeline.
Returns
- AggregateFacet<TInput, TOutput>
A new instance of the AggregateFacet<TInput, TOutput> class
Type Parameters
TInputThe type of the input documents.
TOutputThe type of the output documents.