IAggregationTimeSeriesDataReadingOptionsFactory Interface
Used for creating new IAggregationTimeSeriesDataReadingOptions.
public interface IAggregationTimeSeriesDataReadingOptionsFactoryMethods
Section titled “Methods”IAggregationTimeSeriesDataReadingOptionsFactory.Create(IAsyncEnumerable<ITimeSeriesReference>, IUnitReference, Nullable<DateTimeOffsetAtOrBefore>, Nullable<IntervalTransformationMethod>) Method
Section titled “IAggregationTimeSeriesDataReadingOptionsFactory.Create(IAsyncEnumerable<ITimeSeriesReference>, IUnitReference, Nullable<DateTimeOffsetAtOrBefore>, Nullable<IntervalTransformationMethod>) Method”Creates a new instance of IAggregationTimeSeriesDataReadingOptions with the given parameters.
HAKOM.TSM.Net.Api.Calculation.Aggregation.IAggregationTimeSeriesDataReadingOptions Create(System.Collections.Generic.IAsyncEnumerable<HAKOM.TSM.Net.Api.TimeSeries.Persistence.References.ITimeSeriesReference> timeSeriesReferences, HAKOM.TSM.Net.Api.Units.Persistence.References.IUnitReference? unit=null, System.Nullable<HAKOM.TSM.Net.Api.Time.DateTimes.DateTimeOffsetAtOrBefore> historicDateTime=null, System.Nullable<HAKOM.TSM.Net.Api.Time.Intervals.IntervalTransformationMethod> intervalTransformationMethod=null);Parameters
Section titled “Parameters”timeSeriesReferences System.Collections.Generic.IAsyncEnumerable<ITimeSeriesReference>
The ITimeSeries the data should be retrieved for.
unit IUnitReference
The IUnitReference to the unit determining how the data should be read.
historicDateTime System.Nullable<DateTimeOffsetAtOrBefore>
The DateTimeOffsetAtOrBefore representing the historic date and time for which the data should be read and if the data should be read exactly at the historic date and time.
intervalTransformationMethod System.Nullable<IntervalTransformationMethod>
The IntervalTransformationMethod that is used to transform the data.
Returns
Section titled “Returns”IAggregationTimeSeriesDataReadingOptions
A new instance of IAggregationTimeSeriesDataReadingOptions.
IAggregationTimeSeriesDataReadingOptionsFactory.TryCreate(IAsyncEnumerable<ITimeSeriesReference>, IUnitReference, Nullable<DateTimeOffsetAtOrBefore>, Nullable<IntervalTransformationMethod>) Method
Section titled “IAggregationTimeSeriesDataReadingOptionsFactory.TryCreate(IAsyncEnumerable<ITimeSeriesReference>, IUnitReference, Nullable<DateTimeOffsetAtOrBefore>, Nullable<IntervalTransformationMethod>) Method”Tries to create a new instance of IAggregationTimeSeriesDataReadingOptions with the given parameters.
HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Calculation.Aggregation.IAggregationTimeSeriesDataReadingOptions> TryCreate(System.Collections.Generic.IAsyncEnumerable<HAKOM.TSM.Net.Api.TimeSeries.Persistence.References.ITimeSeriesReference> timeSeriesReferences, HAKOM.TSM.Net.Api.Units.Persistence.References.IUnitReference? unit=null, System.Nullable<HAKOM.TSM.Net.Api.Time.DateTimes.DateTimeOffsetAtOrBefore> historicDateTime=null, System.Nullable<HAKOM.TSM.Net.Api.Time.Intervals.IntervalTransformationMethod> intervalTransformationMethod=null);Parameters
Section titled “Parameters”timeSeriesReferences System.Collections.Generic.IAsyncEnumerable<ITimeSeriesReference>
The ITimeSeries the data should be retrieved for.
unit IUnitReference
The IUnitReference to the unit determining how the data should be read.
historicDateTime System.Nullable<DateTimeOffsetAtOrBefore>
The DateTimeOffsetAtOrBefore representing the historic date and time for which the data should be read and if the data should be read exactly at the historic date and time.
intervalTransformationMethod System.Nullable<IntervalTransformationMethod>
The IntervalTransformationMethod that is used to transform the data.
Returns
Section titled “Returns”HAKOM.ErrorHandling.Core.Net.Api.Result<IAggregationTimeSeriesDataReadingOptions>
A Result<TValue> containing a new instance of IAggregationTimeSeriesDataReadingOptions.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure of the operation.