Skip to content
Documentation

ICustomFunction<TResult> Interface

Interface for the for the custom function implementations without parameters.

public interface ICustomFunction<TResult> : HAKOM.TSM.Net.Api.Calculation.Formulas.CustomFunctions.ICustomFunction

TResult

Type of the return value.

Implements ICustomFunction

ICustomFunction<TResult>.Evaluate(DateTimeOffset) Method

Section titled “ICustomFunction<TResult>.Evaluate(DateTimeOffset) Method”

Evaluate is called for every time stamp of the calculation.

TResult Evaluate(System.DateTimeOffset calculationTime);

calculationTime System.DateTimeOffset

The current time stamp of System.DateTimeOffset to

TResult
The result returned by the custom function.

ICustomFunction<TResult>.PerformBeforeCalculation() Method

Section titled “ICustomFunction<TResult>.PerformBeforeCalculation() Method”

PerformBeforeCalculation is called once before the calculation starts to perform for each time stamp.

System.Threading.Tasks.Task PerformBeforeCalculation();

System.Threading.Tasks.Task
an awaitable System.Threading.Tasks.Task.

© 2026 Volue.Version v0.6.38017 November 2026