Aggregator 2Group.Try Specialize Method
Returns an aggregator for the specified element type.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
true if a specialized aggregator could be created; otherwise false.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public abstract bool TrySpecialize(
Type type,
out IAggregator2 aggregator
)
Parameters
- type Type
- The desired element type.
- aggregator IAggregator2
- On return, the aggregator specialized for elements of type type, or null if no specialized aggregator exists.
Return Value
Booleantrue if a specialized aggregator could be created; otherwise false.