public override void OnActionExecuting(ActionExecutingContext filterContext) { if (!RouteFlow.OnPath(Path.Name)) { return; } var actionValues = filterContext.ActionParameters; if (actionValues.ContainsKey(AssignTo)) { actionValues[AssignTo] = RouteFlow.GetCorrelationId(Name); } }
public override void OnActionExecuting(ActionExecutingContext filterContext) { if (!RouteFlow.OnPath(Path.Name)) { return; } var actionValues = filterContext.ActionParameters; if (actionValues[Value] == null) { // Attempting to set a correlation with a null value (maybe due to restarting a routeflow step) var value = RouteFlow.GetCorrelationId(As); if (value != null) { actionValues[Value] = RouteFlow.GetCorrelationId(As); return; } } RouteFlow.SetCorrelationId(As, actionValues[Value]); }
public override void OnActionExecuting(ActionExecutingContext filterContext) { RouteFlow.Prepare(filterContext); }
public ActionResult Resume() { return(RouteFlow.Resume()); }
public ActionResult NextYES(string skiptoyes) { return(RouteFlow.SkipTo(skiptoyes)); }
public ActionResult NextNO(string skiptono) { return(RouteFlow.SkipTo(skiptono)); }