Skip to content
Documentation

IAggregatorFactory Interface

Used for creating a new instance of IAggregator.

public interface IAggregatorFactory

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>;

TValue

The value type of the data points to aggregate.

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>;

TValue

The value type of the data points to aggregate.

HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Calculation.Aggregation.IAggregator<TValue>>
A Result<TValue> containing a IAggregator<TValue> object.

The Result will provide additional information about success or failure.

© 2026 Volue.Version v0.6.38017 November 2026