IAggregatorFactory Interface
Used for creating a new instance of IAggregator.
public interface IAggregatorFactoryMethods
Section titled “Methods”IAggregatorFactory.Create<TValue>() Method
Section titled “IAggregatorFactory.Create<TValue>() Method”Creates an instance of IAggregator<TValue>.
HAKOM.TSM.Net.Api.Calculation.Aggregation.IAggregator<TValue> Create<TValue>() where TValue : System.IComparable<TValue>, System.IEquatable<TValue>;Type parameters
Section titled “Type parameters”TValue
The value type of the data points to aggregate.
Returns
Section titled “Returns”HAKOM.TSM.Net.Api.Calculation.Aggregation.IAggregator<TValue>
An IAggregator<TValue> object.
IAggregatorFactory.TryCreate<TValue>() Method
Section titled “IAggregatorFactory.TryCreate<TValue>() Method”Tries to create an instance of IAggregator<TValue>.
HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Calculation.Aggregation.IAggregator<TValue>> TryCreate<TValue>() where TValue : System.IComparable<TValue>, System.IEquatable<TValue>;Type parameters
Section titled “Type parameters”TValue
The value type of the data points to aggregate.
Returns
Section titled “Returns”HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Calculation.Aggregation.IAggregator<TValue>>
A Result<TValue> containing a IAggregator<TValue> object.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure.
Was this page helpful?Thanks for your feedback!