Skip to content
Documentation

IFormula Interface

Used to create time series which have data based on calculation rather than explicit values.

public interface IFormula : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.DateTimeOffset, string?>>, System.Collections.IEnumerable, System.IEquatable<HAKOM.TSM.Net.Api.Formulas.IFormula>

Implements System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.DateTimeOffset,System.String>>, System.Collections.IEnumerable, System.IEquatable<IFormula>

IFormula.GetFormula(DateTimeOffset) Method

Section titled “IFormula.GetFormula(DateTimeOffset) Method”

Gets the formula which should be used for any time along the series at or following the given date/time.

string? GetFormula(System.DateTimeOffset at);

at System.DateTimeOffset

The date/time along the series at which this formula becomes effective.

System.String
The formula

IFormula.SetFormula(DateTimeOffset, string) Method

Section titled “IFormula.SetFormula(DateTimeOffset, string) Method”

Sets the formula which should be used for any time along the series at or following the given date/time.

void SetFormula(System.DateTimeOffset at, string? formula);

at System.DateTimeOffset

The date/time along the series at which this formula becomes effective.

formula System.String

The formula which should be used following the given date/time.

IFormula.TryRemove(DateTimeOffset, string) Method

Section titled “IFormula.TryRemove(DateTimeOffset, string) Method”

Attempts to remove a formula.

bool TryRemove(System.DateTimeOffset at, out string? formula);

at System.DateTimeOffset

The System.DateTimeOffset at which the formula is valid.

formula System.String

The System.String formula that was removed.

System.Boolean
True if the formula could be removed.

© 2026 Volue.Version v0.6.38017 November 2026