public ConditionAction(ConditionActionData actionData) : base(Enums.ActionTypeId.Conditions) { _actionData = actionData; Details.Add(_actionData.SourceVar);//1 Details.Add(_actionData.Result); //2 Details.Add(_actionData.Lable); //3 }
public override void Construct() { _actionData = new ConditionActionData() { SourceVar = Details[0], Result = Details[1], Lable = Details[2] }; }