CalculationContext<TValue> Class
Base class for calculation context classes that provide functionality for calling custom functions from a formula.
public abstract class CalculationContext<TValue> where TValue : System.IEquatable<TValue>, System.IComparable<TValue>Type parameters
Section titled “Type parameters”TValue
The value type of the formula.
Inheritance System.Object 🡒 CalculationContext<TValue>
Constructors
Section titled “Constructors”CalculationContext(ICustomFunctionContext<TValue>) Constructor
Section titled “CalculationContext(ICustomFunctionContext<TValue>) Constructor”Constructor creates a new CalculationContext object and sets the CustomFunctionContext.
protected CalculationContext(HAKOM.TSM.Net.Api.Calculation.Formulas.CustomFunctions.ICustomFunctionContext<TValue> customFunctionContext);Parameters
Section titled “Parameters”customFunctionContext HAKOM.TSM.Net.Api.Calculation.Formulas.CustomFunctions.ICustomFunctionContext<TValue>
The custom function context for initializing custom functions.
Properties
Section titled “Properties”CalculationContext<TValue>.CustomFunctionContext Property
Section titled “CalculationContext<TValue>.CustomFunctionContext Property”The custom function context to initialize custom functions.
public HAKOM.TSM.Net.Api.Calculation.Formulas.CustomFunctions.ICustomFunctionContext<TValue> CustomFunctionContext { get; }Property Value
Section titled “Property Value”HAKOM.TSM.Net.Api.Calculation.Formulas.CustomFunctions.ICustomFunctionContext<TValue>
Was this page helpful?Thanks for your feedback!