IDataConverterFactory Interface
Creates objects of type IDataConverter<TValue>.
public interface IDataConverterFactoryMethods
Section titled “Methods”IDataConverterFactory.Create<TValue>(IUnitStore) Method
Section titled “IDataConverterFactory.Create<TValue>(IUnitStore) Method”Creates an instance of IDataConverter<TValue>.
HAKOM.TSM.Net.Api.Data.TimeSeries.IDataConverter<TValue> Create<TValue>(HAKOM.TSM.Net.Api.Units.Persistence.IUnitStore unitStore) where TValue : System.IComparable<TValue>, System.IEquatable<TValue>;Type parameters
Section titled “Type parameters”TValue
The value type of the data points to convert.
Parameters
Section titled “Parameters”unitStore IUnitStore
The unit store where the units for the conversion are stored.
Returns
Section titled “Returns”HAKOM.TSM.Net.Api.Data.TimeSeries.IDataConverter<TValue>
An IDataConverter<TValue> object.
IDataConverterFactory.TryCreate<TValue>(IUnitStore) Method
Section titled “IDataConverterFactory.TryCreate<TValue>(IUnitStore) Method”Tries to create an instance of IDataConverter<TValue>.
HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Data.TimeSeries.IDataConverter<TValue>> TryCreate<TValue>(HAKOM.TSM.Net.Api.Units.Persistence.IUnitStore unitStore) where TValue : System.IComparable<TValue>, System.IEquatable<TValue>;Type parameters
Section titled “Type parameters”TValue
The value type of the data points to convert.
Parameters
Section titled “Parameters”unitStore IUnitStore
The unit store where the units for the conversion are stored.
Returns
Section titled “Returns”HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Data.TimeSeries.IDataConverter<TValue>>
A Result<TValue> containing the IDataConverter<TValue> object.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure.
Was this page helpful?Thanks for your feedback!