ICustomFunctionProvider Interface
HAKOM.TSM.Net.Api.Calculation.Formulas.CustomFunctions
Section titled “HAKOM.TSM.Net.Api.Calculation.Formulas.CustomFunctions”Interface for the class used for obtaining the implementations of ICustomFunction from user-provided .csx and .dll files.
public interface ICustomFunctionProviderMethods
Section titled “Methods”ICustomFunctionProvider.GetCustomFunctionTypes() Method
Section titled “ICustomFunctionProvider.GetCustomFunctionTypes() Method”Obtains all implementations of ICustomFunction in the user-provided csx and dll files.
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,System.Type>> GetCustomFunctionTypes();Returns
Section titled “Returns”System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String,System.Type>>
An System.Collections.Generic.IEnumerable<> containing the types of the obtained
implementations of ICustomFunction represented as key-value pairs with the
the CustomFunctionNameAttribute as keys and the retrieved types as values
ICustomFunctionProvider.TryGetCustomFunctionTypes() Method
Section titled “ICustomFunctionProvider.TryGetCustomFunctionTypes() Method”Obtains all implementations of ICustomFunction in the user-provided csx and dll files.
System.Collections.Generic.IEnumerable<HAKOM.ErrorHandling.Core.Net.Api.Result<System.Collections.Generic.KeyValuePair<string,System.Type>>> TryGetCustomFunctionTypes();Returns
Section titled “Returns”System.Collections.Generic.IEnumerable<HAKOM.ErrorHandling.Core.Net.Api.Result<System.Collections.Generic.KeyValuePair<System.String,System.Type>>>
An System.Collections.Generic.IEnumerable<> containing a Result<TValue> whether the types of the obtained
implementations of ICustomFunction are represented as key-value pairs with the
the CustomFunctionNameAttribute as keys and the retrieved types as values