public ActionParams SetContext(ActionParamsContext context) { this.context = context; return(this); }
public ActionParams(string userAction, string heading, System.Action <ActionParamsContext> actionToPerform, ActionParamsContext context = null) { this.userActionLowerCase = userAction.ToLower(); this.heading = heading; this.actionToPerform = actionToPerform; this.context = context; }