IAggregator<TValue> Interface
Aggregates time series data.
public interface IAggregator<TValue> : HAKOM.TSM.Net.Api.Calculation.Aggregation.IAggregator where TValue : System.IComparable<TValue>, System.IEquatable<TValue>Type parameters
Section titled “Type parameters”TValue
The type of the data.
Implements IAggregator
Methods
Section titled “Methods”IAggregator<TValue>.Aggregate(string, ITimeSeriesSearchParameters, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) Method
Section titled “IAggregator<TValue>.Aggregate(string, ITimeSeriesSearchParameters, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) Method”Aggregates multiple ITimeSeriesDataCollection<TValue> based on the provided timeSeriesSearchParameters, calculationOptions, and readingOptions.
System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesDataCollection<TValue>> Aggregate(string searchRepository, HAKOM.TSM.Net.Api.TimeSeries.Persistence.ITimeSeriesSearchParameters timeSeriesSearchParameters, HAKOM.TSM.Net.Api.Calculation.ICalculationOptions calculationOptions, HAKOM.TSM.Net.Api.Data.Persistence.TimeSeries.ITimeSeriesDataReadingOptions readingOptions, string unitRepositoryName, System.Collections.Generic.IEnumerable<HAKOM.TSM.Net.Api.Flags.Flag>? aggregationFlagsWhiteList=null, HAKOM.TSM.Net.Api.Flags.FlagHandling flagHandling=HAKOM.TSM.Net.Api.Flags.FlagHandling.UseHighestPriority, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”searchRepository System.String
The name of the repository where time series corresponding to the ITimeSeriesSearchParameters of timeSeriesSearchParameters are to be looked for.
timeSeriesSearchParameters ITimeSeriesSearchParameters
ITimeSeriesSearchParameters used for searching ITimeSeries that should be aggregated.
calculationOptions ICalculationOptions
The ICalculationOptions to apply during aggregation.
readingOptions ITimeSeriesDataReadingOptions
The ITimeSeriesDataReadingOptions, which specify the form in which the data is to be returned.
unitRepositoryName System.String
The repository name for loading units for converting the result into a specific unit.
aggregationFlagsWhiteList System.Collections.Generic.IEnumerable<Flag>
Defines which data points should be accounted for the aggregation based on their Flag. Uses all when null.
flagHandling FlagHandling
Indicates which Flag is to be used for the result when aggregating values with different Flags. By default, the Flag with the highest priority is used.
cancellationToken System.Threading.CancellationToken
A System.Threading.CancellationToken to abort the procedure.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesDataCollection<TValue>>
A System.Threading.Tasks.Task<> containing the aggregated ITimeSeriesDataCollection<TValue>.
IAggregator<TValue>.Aggregate(string, ITimeSeriesSearchParameters, IAsyncEnumerable<ITimeSeriesReference>, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) Method
Section titled “IAggregator<TValue>.Aggregate(string, ITimeSeriesSearchParameters, IAsyncEnumerable<ITimeSeriesReference>, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) Method”Aggregates multiple ITimeSeriesDataCollection<TValue>from the provided timeSeriesReferences and based on the provided timeSeriesSearchParameters, calculationOptions and readingOptions.
System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesDataCollection<TValue>> Aggregate(string searchRepository, HAKOM.TSM.Net.Api.TimeSeries.Persistence.ITimeSeriesSearchParameters timeSeriesSearchParameters, System.Collections.Generic.IAsyncEnumerable<HAKOM.TSM.Net.Api.TimeSeries.Persistence.References.ITimeSeriesReference> timeSeriesReferences, HAKOM.TSM.Net.Api.Calculation.ICalculationOptions calculationOptions, HAKOM.TSM.Net.Api.Data.Persistence.TimeSeries.ITimeSeriesDataReadingOptions readingOptions, string unitRepositoryName, System.Collections.Generic.IEnumerable<HAKOM.TSM.Net.Api.Flags.Flag>? aggregationFlagsWhiteList=null, HAKOM.TSM.Net.Api.Flags.FlagHandling flagHandling=HAKOM.TSM.Net.Api.Flags.FlagHandling.UseHighestPriority, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”searchRepository System.String
The name of the repository where time series corresponding to the ITimeSeriesSearchParameters of timeSeriesSearchParameters are to be looked for.
timeSeriesSearchParameters ITimeSeriesSearchParameters
ITimeSeriesSearchParameters used for searching ITimeSeries that should be aggregated.
timeSeriesReferences System.Collections.Generic.IAsyncEnumerable<ITimeSeriesReference>
A list of ITimeSeriesReference that define which ITimeSeries should be aggregated.
calculationOptions ICalculationOptions
The ICalculationOptions to apply during aggregation.
readingOptions ITimeSeriesDataReadingOptions
The ITimeSeriesDataReadingOptions, which specify the form in which the data is to be returned.
unitRepositoryName System.String
The repository name for loading units for converting the result into a specific unit.
aggregationFlagsWhiteList System.Collections.Generic.IEnumerable<Flag>
Defines which data points should be accounted for the aggregation based on their Flag. Uses all when null.
flagHandling FlagHandling
Indicates which Flag is to be used for the result when aggregating values with different Flags. By default, the Flag with the highest priority is used.
cancellationToken System.Threading.CancellationToken
A System.Threading.CancellationToken to abort the procedure.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesDataCollection<TValue>>
A System.Threading.Tasks.Task<> containing the aggregated ITimeSeriesDataCollection<TValue>.
IAggregator<TValue>.Aggregate(IAsyncEnumerable<ITimeSeriesReference>, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) Method
Section titled “IAggregator<TValue>.Aggregate(IAsyncEnumerable<ITimeSeriesReference>, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) Method”Aggregates multiple ITimeSeriesDataCollection<TValue> based on the provided timeSeriesReferences, calculationOptions, and readingOptions.
System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesDataCollection<TValue>> Aggregate(System.Collections.Generic.IAsyncEnumerable<HAKOM.TSM.Net.Api.TimeSeries.Persistence.References.ITimeSeriesReference> timeSeriesReferences, HAKOM.TSM.Net.Api.Calculation.ICalculationOptions calculationOptions, HAKOM.TSM.Net.Api.Data.Persistence.TimeSeries.ITimeSeriesDataReadingOptions readingOptions, string unitRepositoryName, System.Collections.Generic.IEnumerable<HAKOM.TSM.Net.Api.Flags.Flag>? aggregationFlagsWhiteList=null, HAKOM.TSM.Net.Api.Flags.FlagHandling flagHandling=HAKOM.TSM.Net.Api.Flags.FlagHandling.UseHighestPriority, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”timeSeriesReferences System.Collections.Generic.IAsyncEnumerable<ITimeSeriesReference>
A list of ITimeSeriesReference that defines which ITimeSeries should be aggregated.
calculationOptions ICalculationOptions
The ICalculationOptions to apply during aggregation.
readingOptions ITimeSeriesDataReadingOptions
The ITimeSeriesDataReadingOptions, which specify the form in which the data is to be returned.
unitRepositoryName System.String
The repository name for loading units for converting the result into a specific unit.
aggregationFlagsWhiteList System.Collections.Generic.IEnumerable<Flag>
Defines which data points should be accounted for the aggregation based on their Flag. Uses all when null.
flagHandling FlagHandling
Indicates which Flag is to be used for the result when aggregating values with different Flags. By default, the Flag with the highest priority is used.
cancellationToken System.Threading.CancellationToken
A System.Threading.CancellationToken to abort the procedure.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesDataCollection<TValue>>
A System.Threading.Tasks.Task<> containing the aggregated ITimeSeriesDataCollection<TValue>.
IAggregator<TValue>.Aggregate(IEnumerable<IAggregationTimeSeriesDataReadingOptions>, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) Method
Section titled “IAggregator<TValue>.Aggregate(IEnumerable<IAggregationTimeSeriesDataReadingOptions>, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) Method”Tries to aggregate multiple ITimeSeriesDataCollection<TValue> based on the provided aggregationTimeSeriesDataReadingOptions, calculationOptions, and readingOptions.
System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesDataCollection<TValue>> Aggregate(System.Collections.Generic.IEnumerable<HAKOM.TSM.Net.Api.Calculation.Aggregation.IAggregationTimeSeriesDataReadingOptions> aggregationTimeSeriesDataReadingOptions, HAKOM.TSM.Net.Api.Calculation.ICalculationOptions calculationOptions, HAKOM.TSM.Net.Api.Data.Persistence.TimeSeries.ITimeSeriesDataReadingOptions readingOptions, string unitRepositoryName, System.Collections.Generic.IEnumerable<HAKOM.TSM.Net.Api.Flags.Flag>? aggregationFlagsWhiteList=null, HAKOM.TSM.Net.Api.Flags.FlagHandling flagHandling=HAKOM.TSM.Net.Api.Flags.FlagHandling.UseHighestPriority, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”aggregationTimeSeriesDataReadingOptions System.Collections.Generic.IEnumerable<IAggregationTimeSeriesDataReadingOptions>
A list of IAggregationTimeSeriesDataReadingOptions that define which ITimeSeries should be aggregated.
calculationOptions ICalculationOptions
The ICalculationOptions to apply during aggregation.
readingOptions ITimeSeriesDataReadingOptions
The ITimeSeriesDataReadingOptions, which specify the form in which the data is to be returned.
unitRepositoryName System.String
The repository name for loading units for converting the result into a specific unit.
aggregationFlagsWhiteList System.Collections.Generic.IEnumerable<Flag>
Defines which data points should be accounted for the aggregation based on their Flag. Uses all when null.
flagHandling FlagHandling
Indicates which Flag is to be used for the result when aggregating values with different Flags. By default, the Flag with the highest priority is used.
cancellationToken System.Threading.CancellationToken
A System.Threading.CancellationToken to abort the procedure.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesDataCollection<TValue>>
A System.Threading.Tasks.Task<> containing the aggregated ITimeSeriesDataCollection<TValue>.
Remarks
Section titled “Remarks”This method is similar to Aggregate(IAsyncEnumerable<ITimeSeriesReference>, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) but allows to define ITimeSeriesDataReadingOptions for each ITimeSeriesReference separately.
IAggregator<TValue>.TryAggregate(string, ITimeSeriesSearchParameters, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) Method
Section titled “IAggregator<TValue>.TryAggregate(string, ITimeSeriesSearchParameters, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) Method”Tries to aggregate multiple ITimeSeriesDataCollection<TValue> based on the provided timeSeriesSearchParameters, calculationOptions, and readingOptions.
System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesDataCollection<TValue>>> TryAggregate(string searchRepository, HAKOM.TSM.Net.Api.TimeSeries.Persistence.ITimeSeriesSearchParameters timeSeriesSearchParameters, HAKOM.TSM.Net.Api.Calculation.ICalculationOptions calculationOptions, HAKOM.TSM.Net.Api.Data.Persistence.TimeSeries.ITimeSeriesDataReadingOptions readingOptions, string unitRepositoryName, System.Collections.Generic.IEnumerable<HAKOM.TSM.Net.Api.Flags.Flag>? aggregationFlagsWhiteList=null, HAKOM.TSM.Net.Api.Flags.FlagHandling flagHandling=HAKOM.TSM.Net.Api.Flags.FlagHandling.UseHighestPriority, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”searchRepository System.String
The name of the repository where time series corresponding to the ITimeSeriesSearchParameters of timeSeriesSearchParameters are to be looked for.
timeSeriesSearchParameters ITimeSeriesSearchParameters
ITimeSeriesSearchParameters used for searching ITimeSeries that should be aggregated.
calculationOptions ICalculationOptions
The ICalculationOptions to apply during aggregation.
readingOptions ITimeSeriesDataReadingOptions
The ITimeSeriesDataReadingOptions, which specify the form in which the data is to be returned.
unitRepositoryName System.String
The repository name for loading units for converting the result into a specific unit.
aggregationFlagsWhiteList System.Collections.Generic.IEnumerable<Flag>
Defines which data points should be accounted for the aggregation based on their Flag. Uses all when null.
flagHandling FlagHandling
Indicates which Flag is to be used for the result when aggregating values with different Flags. By default, the Flag with the highest priority is used.
cancellationToken System.Threading.CancellationToken
A System.Threading.CancellationToken to abort the procedure.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesDataCollection<TValue>>>
A System.Threading.Tasks.Task<> of Result<TValue> containing the aggregated ITimeSeriesDataCollection<TValue>.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure of the operation.
IAggregator<TValue>.TryAggregate(string, ITimeSeriesSearchParameters, IAsyncEnumerable<ITimeSeriesReference>, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) Method
Section titled “IAggregator<TValue>.TryAggregate(string, ITimeSeriesSearchParameters, IAsyncEnumerable<ITimeSeriesReference>, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) Method”Tries to aggregate multiple ITimeSeriesDataCollection<TValue>from the provided timeSeriesReferences and based on the provided timeSeriesSearchParameters, calculationOptions and readingOptions.
System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesDataCollection<TValue>>> TryAggregate(string searchRepository, HAKOM.TSM.Net.Api.TimeSeries.Persistence.ITimeSeriesSearchParameters timeSeriesSearchParameters, System.Collections.Generic.IAsyncEnumerable<HAKOM.TSM.Net.Api.TimeSeries.Persistence.References.ITimeSeriesReference> timeSeriesReferences, HAKOM.TSM.Net.Api.Calculation.ICalculationOptions calculationOptions, HAKOM.TSM.Net.Api.Data.Persistence.TimeSeries.ITimeSeriesDataReadingOptions readingOptions, string unitRepositoryName, System.Collections.Generic.IEnumerable<HAKOM.TSM.Net.Api.Flags.Flag>? aggregationFlagsWhiteList=null, HAKOM.TSM.Net.Api.Flags.FlagHandling flagHandling=HAKOM.TSM.Net.Api.Flags.FlagHandling.UseHighestPriority, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”searchRepository System.String
The name of the repository where time series corresponding to the ITimeSeriesSearchParameters of timeSeriesSearchParameters are to be looked for.
timeSeriesSearchParameters ITimeSeriesSearchParameters
ITimeSeriesSearchParameters used for searching ITimeSeries that should be aggregated.
timeSeriesReferences System.Collections.Generic.IAsyncEnumerable<ITimeSeriesReference>
A list of ITimeSeriesReference that define which ITimeSeries should be aggregated.
calculationOptions ICalculationOptions
The ICalculationOptions to apply during aggregation.
readingOptions ITimeSeriesDataReadingOptions
The ITimeSeriesDataReadingOptions, which specify the form in which the data is to be returned.
unitRepositoryName System.String
The repository name for loading units for converting the result into a specific unit.
aggregationFlagsWhiteList System.Collections.Generic.IEnumerable<Flag>
Defines which data points should be accounted for the aggregation based on their Flag. Uses all when null.
flagHandling FlagHandling
Indicates which Flag is to be used for the result when aggregating values with different Flags. By default, the Flag with the highest priority is used.
cancellationToken System.Threading.CancellationToken
A System.Threading.CancellationToken to abort the procedure.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesDataCollection<TValue>>>
A System.Threading.Tasks.Task<> of Result<TValue> containing the aggregated ITimeSeriesDataCollection<TValue>.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure of the operation.
IAggregator<TValue>.TryAggregate(IAsyncEnumerable<ITimeSeriesReference>, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) Method
Section titled “IAggregator<TValue>.TryAggregate(IAsyncEnumerable<ITimeSeriesReference>, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) Method”Tries to aggregate multiple ITimeSeriesDataCollection<TValue> based on the provided timeSeriesReferences, calculationOptions, and readingOptions.
System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesDataCollection<TValue>>> TryAggregate(System.Collections.Generic.IAsyncEnumerable<HAKOM.TSM.Net.Api.TimeSeries.Persistence.References.ITimeSeriesReference> timeSeriesReferences, HAKOM.TSM.Net.Api.Calculation.ICalculationOptions calculationOptions, HAKOM.TSM.Net.Api.Data.Persistence.TimeSeries.ITimeSeriesDataReadingOptions readingOptions, string unitRepositoryName, System.Collections.Generic.IEnumerable<HAKOM.TSM.Net.Api.Flags.Flag>? aggregationFlagsWhiteList=null, HAKOM.TSM.Net.Api.Flags.FlagHandling flagHandling=HAKOM.TSM.Net.Api.Flags.FlagHandling.UseHighestPriority, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”timeSeriesReferences System.Collections.Generic.IAsyncEnumerable<ITimeSeriesReference>
A list of ITimeSeriesReference that define which ITimeSeries should be aggregated.
calculationOptions ICalculationOptions
The ICalculationOptions to apply during aggregation.
readingOptions ITimeSeriesDataReadingOptions
The ITimeSeriesDataReadingOptions, which specify the form in which the data is to be returned.
unitRepositoryName System.String
The repository name for loading units for converting the result into a specific unit.
aggregationFlagsWhiteList System.Collections.Generic.IEnumerable<Flag>
Defines which data points should be accounted for the aggregation based on their Flag. Uses all when null.
flagHandling FlagHandling
Indicates which Flag is to be used for the result when aggregating values with different Flags. By default, the Flag with the highest priority is used.
cancellationToken System.Threading.CancellationToken
A System.Threading.CancellationToken to abort the procedure.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesDataCollection<TValue>>>
A System.Threading.Tasks.Task<> of Result<TValue> containing the aggregated ITimeSeriesDataCollection<TValue>.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure of the operation.
IAggregator<TValue>.TryAggregate(IEnumerable<IAggregationTimeSeriesDataReadingOptions>, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) Method
Section titled “IAggregator<TValue>.TryAggregate(IEnumerable<IAggregationTimeSeriesDataReadingOptions>, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) Method”Tries to aggregate multiple ITimeSeriesDataCollection<TValue> based on the provided aggregationTimeSeriesDataReadingOptions, calculationOptions, and readingOptions.
System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesDataCollection<TValue>>> TryAggregate(System.Collections.Generic.IEnumerable<HAKOM.TSM.Net.Api.Calculation.Aggregation.IAggregationTimeSeriesDataReadingOptions> aggregationTimeSeriesDataReadingOptions, HAKOM.TSM.Net.Api.Calculation.ICalculationOptions calculationOptions, HAKOM.TSM.Net.Api.Data.Persistence.TimeSeries.ITimeSeriesDataReadingOptions readingOptions, string unitRepositoryName, System.Collections.Generic.IEnumerable<HAKOM.TSM.Net.Api.Flags.Flag>? aggregationFlagsWhiteList=null, HAKOM.TSM.Net.Api.Flags.FlagHandling flagHandling=HAKOM.TSM.Net.Api.Flags.FlagHandling.UseHighestPriority, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”aggregationTimeSeriesDataReadingOptions System.Collections.Generic.IEnumerable<IAggregationTimeSeriesDataReadingOptions>
A list of IAggregationTimeSeriesDataReadingOptions that define which ITimeSeries should be aggregated.
calculationOptions ICalculationOptions
The ICalculationOptions to apply during aggregation.
readingOptions ITimeSeriesDataReadingOptions
The ITimeSeriesDataReadingOptions, which specify the form in which the data is to be returned.
unitRepositoryName System.String
The repository name for loading units for converting the result into a specific unit.
aggregationFlagsWhiteList System.Collections.Generic.IEnumerable<Flag>
Defines which data points should be accounted for the aggregation based on their Flag. Uses all when null.
flagHandling FlagHandling
Indicates which Flag is to be used for the result when aggregating values with different Flags. By default, the Flag with the highest priority is used.
cancellationToken System.Threading.CancellationToken
A System.Threading.CancellationToken to abort the procedure.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesDataCollection<TValue>>>
A System.Threading.Tasks.Task<> of Result<TValue> containing the aggregated ITimeSeriesDataCollection<TValue>.
Remarks
Section titled “Remarks”This method is similar to Aggregate(IAsyncEnumerable<ITimeSeriesReference>, ICalculationOptions, ITimeSeriesDataReadingOptions, string, IEnumerable<Flag>, FlagHandling, CancellationToken) but allows to define ITimeSeriesDataReadingOptions for each ITimeSeriesReference separately.
The Result will provide additional information about success or failure of the operation.