Skip to content
Documentation

IDataConverterFactory Interface

Creates objects of type IDataConverter<TValue>.

public interface IDataConverterFactory

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

TValue

The value type of the data points to convert.

unitStore IUnitStore

The unit store where the units for the conversion are stored.

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

TValue

The value type of the data points to convert.

unitStore IUnitStore

The unit store where the units for the conversion are stored.

HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Data.TimeSeries.IDataConverter<TValue>>
A Result<TValue> containing the IDataConverter<TValue> object.

The Result will provide additional information about success or failure.

© 2026 Volue.Version v0.6.38017 November 2026