Aggregator 2Group<T>.Try Specialize Method
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Try | Returns an aggregator specialized to operate on values of the specified type. |
Try | Attempts to create an aggregator specialized to operate on values of the specified type. |
Try | Attempts to create an aggregator specialized to operate on values of the specified type. |
Try | Attempts to create an aggregator specialized to operate on values of the specified type. |
TrySpecialize<U>(Aggregator2<U, T>)
Attempts to create an aggregator specialized to operate on values of the specified type.
public bool TrySpecialize<U>(
out Aggregator2<U, T> aggregator
)
Parameters
- aggregator Aggregator2<U, T>
- On return, the specialized aggregator.
Type Parameters
- U
- The type to specialize for.
Return Value
Booleantrue if a specialized aggregator was created; otherwise false.
TrySpecialize<U>(IAggregator2<T>)
Attempts to create an aggregator specialized to operate on values of the specified type.
public bool TrySpecialize<U>(
out IAggregator2<T> aggregator
)
Parameters
- aggregator IAggregator2<T>
- On return, the specialized aggregator.
Type Parameters
- U
- The type to specialize for.
Return Value
Booleantrue if a specialized aggregator was created; otherwise false.
TrySpecialize(Type, IAggregator2)
Returns an aggregator specialized to operate on values of the specified type.
public override bool TrySpecialize(
Type type,
out IAggregator2 aggregator
)
Parameters
- type Type
- The type to specialize for.
- 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.
TrySpecialize(Type, IAggregator2<T>)
Attempts to create an aggregator specialized to operate on values of the specified type.
protected virtual bool TrySpecialize(
Type type,
out IAggregator2<T> aggregator
)
Parameters
- type Type
- The type to specialize for.
- aggregator IAggregator2<T>
- On return, the specialized aggregator.
Return Value
Booleantrue if a specialized aggregator was created; otherwise false.