Aggregator Group<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>(Aggregator<U, T>)
Attempts to create an aggregator specialized to operate on values of the specified type.
public bool TrySpecialize<U>(
out Aggregator<U, T> aggregator
)
Parameters
- aggregator Aggregator<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>(IAggregator<T>)
Attempts to create an aggregator specialized to operate on values of the specified type.
public bool TrySpecialize<U>(
out IAggregator<T> aggregator
)
Parameters
- aggregator IAggregator<T>
- On return, the aggregator specialized for elements of type U, or null if no specialized aggregator exists.
Type Parameters
- U
- The type to specialize for.
Return Value
Booleantrue if a specialized aggregator could be created; otherwise false.
TrySpecialize(Type, IAggregator)
Returns an aggregator specialized to operate on values of the specified type.
public override bool TrySpecialize(
Type type,
out IAggregator aggregator
)
Parameters
- type Type
- The type to specialize for.
- aggregator IAggregator
- 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, IAggregator<T>)
Attempts to create an aggregator specialized to operate on values of the specified type.
protected virtual bool TrySpecialize(
Type type,
out IAggregator<T> aggregator
)
Parameters
- type Type
- The type to specialize for.
- aggregator IAggregator<T>
- On return, the specialized aggregator.
Return Value
Booleantrue if a specialized aggregator was created; otherwise false.