Skip to content
Documentation

ITimeSeriesValidator<TStorageProvider> Interface

Validates the correctness of the settings of ITimeSeries objects for the storage provider.

public interface ITimeSeriesValidator<TStorageProvider>
where TStorageProvider : HAKOM.Persistence.Core.Net.Api.Storage.IStorageProvider

TStorageProvider

Type of the storage provider.

ITimeSeriesValidator<TStorageProvider>.TryValidateForStorage(ITimeSeries) Method

Section titled “ITimeSeriesValidator<TStorageProvider>.TryValidateForStorage(ITimeSeries) Method”

Tries to validate the given timeSeries and returns one exception or an aggregate exception in the Result if validation failures occur.

HAKOM.ErrorHandling.Core.Net.Api.Result<bool> TryValidateForStorage(HAKOM.TSM.Net.Api.TimeSeries.ITimeSeries timeSeries);

timeSeries ITimeSeries

The ITimeSeries to be validated.

HAKOM.ErrorHandling.Core.Net.Api.Result<System.Boolean>
A Result containing either a boolean, if successful, or exceptions, if not.

ITimeSeriesValidator<TStorageProvider>.ValidateForStorage(ITimeSeries) Method

Section titled “ITimeSeriesValidator<TStorageProvider>.ValidateForStorage(ITimeSeries) Method”

Validates the time series and throws one exception or an aggregate exception if multiple validation failures occur.

bool ValidateForStorage(HAKOM.TSM.Net.Api.TimeSeries.ITimeSeries timeSeries);

timeSeries ITimeSeries

The ITimeSeries to be validated.

System.Boolean
True if the validation was successful.

© 2026 Volue.Version v0.6.38017 November 2026