Skip to content
Documentation

ITimeSeriesBlockDataSerializerFactory Interface

Used to create ITimeSeriesBlockDataSerializer<TValue,TCompressedValue> instances.

public interface ITimeSeriesBlockDataSerializerFactory

ITimeSeriesBlockDataSerializerFactory.Create<TValue,TCompressedValue>(CompressionMode) Method

Section titled “ITimeSeriesBlockDataSerializerFactory.Create<TValue,TCompressedValue>(CompressionMode) Method”

Creates a new ITimeSeriesBlockDataSerializer<TValue,TCompressedValue> instance.
It will be configured with the specified compression mode media type resolver.

HAKOM.TSM.Net.Api.Data.TimeSeries.Compression.ITimeSeriesBlockDataSerializer<TValue,TCompressedValue> Create<TValue,TCompressedValue>(HAKOM.TSM.Net.Api.Data.TimeSeries.Compression.CompressionMode compressionMode)
where TValue : System.IComparable<TValue>, System.IEquatable<TValue>;

TValue

The type of values in the time series data.

TCompressedValue

The type of values in the compressed time series data.

compressionMode CompressionMode

The compression mode.

HAKOM.TSM.Net.Api.Data.TimeSeries.Compression.ITimeSeriesBlockDataSerializer<TValue,TCompressedValue>
A new ITimeSeriesBlockDataSerializer<TValue,TCompressedValue> instance.

ITimeSeriesBlockDataSerializerFactory.TryCreate<TValue,TCompressedValue>(CompressionMode) Method

Section titled “ITimeSeriesBlockDataSerializerFactory.TryCreate<TValue,TCompressedValue>(CompressionMode) Method”

Creates a new ITimeSeriesBlockDataSerializer<TValue,TCompressedValue> instance.
It will be configured with the specified compression mode media type resolver.

HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Data.TimeSeries.Compression.ITimeSeriesBlockDataSerializer<TValue,TCompressedValue>> TryCreate<TValue,TCompressedValue>(HAKOM.TSM.Net.Api.Data.TimeSeries.Compression.CompressionMode compressionMode)
where TValue : System.IComparable<TValue>, System.IEquatable<TValue>;

TValue

The type of values in the time series data.

TCompressedValue

The type of values in the compressed time series data.

compressionMode CompressionMode

The compression mode.

HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Data.TimeSeries.Compression.ITimeSeriesBlockDataSerializer<TValue,TCompressedValue>>
A Result<TValue> containing a new ITimeSeriesBlockDataSerializer<TValue,TCompressedValue> instance.

The Result will provide additional information about success or failure.

© 2026 Volue.Version v0.6.38017 November 2026