Class SetContextValueFromMemberValueEffector
Inheritance
SetContextValueFromMemberValueEffector
Assembly: Xareus.Unity.Libraries.dll
Syntax
[Renamed("Xareus.Scenarios.Unity.SetComponentValueInContextEffector", "Xareus.Unity.Libraries")]
[FunctionDescription("", new string[] { "Context" })]
public class SetContextValueFromMemberValueEffector : AUnityEffector
Constructors
SetContextValueFromMemberValueEffector(Event, Dictionary<string, Parameter>, IContext, IContext, IContext, IContext)
Declaration
public SetContextValueFromMemberValueEffector(Event @event, Dictionary<string, Parameter> nameValueListMap, IContext externalContext, IContext scenarioContext, IContext sequenceContext, IContext eventContext)
Parameters
Fields
COMPONENT
Declaration
public const string COMPONENT = "Component"
Field Value
CONTEXT_OUTPUT
Declaration
public const string CONTEXT_OUTPUT = "Output"
Field Value
MEMBER
Declaration
public const string MEMBER = "Member"
Field Value
component
Declaration
[ConfigurationParameter("Component", Necessity.Required)]
protected Component component
Field Value
member
Declaration
[ConfigurationParameter("Member", Necessity.Required)]
[Provider("Component")]
protected MemberInfo member
Field Value
output
Declaration
[ContextVariable("Output", "The output/context entry to set")]
protected ContextVariable<object> output
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