Class FunctionManager
Inheritance
FunctionManager
Assembly: Xareus.Scenarios.dll
Syntax
public class FunctionManager
Methods
CreateFunction<T>(Identifiable, Type, Type[], Dictionary<string, Parameter>, params object[])
Helper method to create a function of the given type with the given parameters
Declaration
public static T CreateFunction<T>(Identifiable owner, Type objectType, Type[] constructorTypes, Dictionary<string, Parameter> functionParameters, params object[] otherParameters) where T : AFunction
Parameters
Returns
Type Parameters
Exceptions
ForgetFunction(AFunction)
Forget the given function (i.e. the next time this function parameters are updated, it will recompute all constant values)
Declaration
public static void ForgetFunction(AFunction function)
Parameters
See Also
Reset()
Reset the function manager (i.e. it forgets all the functions it handled and recompute all constant values)
Declaration
public static void Reset()
SetFunctionParameters(AFunction, IDictionary<string, Parameter>, IContext, IContext, IContext, IContext)
Set the parameters of the given function. Note that constant parameters are only set once, and variable parameters are set every time.
Declaration
public static void SetFunctionParameters(AFunction function, IDictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext, IContext eventContext)
Parameters
Exceptions
See Also