Class SetContextValueFromStaticMemberValueEffector
Inheritance
SetContextValueFromStaticMemberValueEffector
Assembly: Xareus.Unity.Libraries.dll
Syntax
[FunctionDescription("", new string[] { "Context" })]
public class SetContextValueFromStaticMemberValueEffector : AUnityEffector
Constructors
SetContextValueFromStaticMemberValueEffector(Event, Dictionary<string, Parameter>, IContext, IContext, IContext, IContext)
Declaration
public SetContextValueFromStaticMemberValueEffector(Event @event, Dictionary<string, Parameter> nameValueListMap, IContext externalContext, IContext scenarioContext, IContext sequenceContext, IContext eventContext)
Parameters
Fields
CONTEXT_OUTPUT
Declaration
public const string CONTEXT_OUTPUT = "Output"
Field Value
MEMBER
Declaration
public const string MEMBER = "Member"
Field Value
TYPE
Declaration
public const string TYPE = "Type"
Field Value
member
Declaration
[ConfigurationParameter("Member", Necessity.Required)]
[Provider("Type")]
protected MemberInfo member
Field Value
output
Declaration
[ContextVariable("Output", "The output/context entry to set")]
protected ContextVariable<object> output
Field Value
type
Declaration
[ConfigurationParameter("Type", Necessity.Required)]
protected Type type
Field Value
Methods
SafeEffectorUpdate()
Actual effector code. Note that this code will be executed in unity's thread
Declaration
public override void SafeEffectorUpdate()
Overrides
SafeReset()
Reset an effector. Note that this code will be executed in unity's thread and the declared parameters (using the ConfigurationParameter attribute) are already filled
Declaration
public override void SafeReset()
Overrides