/// <summary> /// 执行外部操作的方法 /// </summary> /// <param name="actionList"></param> /// <param name="actionMethodParameters"></param> public void ExecteActionList(IList <ActionEntity> actionList, IDictionary <string, ActionParameterInternal> actionMethodParameters) { if (actionList != null && actionList.Count > 0) { var actionExecutor = new ActionExecutor(); actionExecutor.ExecteActionList(actionList, actionMethodParameters); } }
/// <summary> /// 执行外部操作的方法 /// </summary> /// <param name="actionList">操作列表</param> /// <param name="delegateService">委托方法</param> protected void ExecteActionList(IList <ActionEntity> actionList, IDelegateService delegateService) { if (actionList != null && actionList.Count > 0) { ActionExecutor.ExecteActionList(actionList, delegateService); } }
/// <summary> /// 触发后执行外部操作的方法 /// </summary> /// <param name="actionList">操作列表</param> /// <param name="delegateService">委托服务</param> internal static void ExecteActionListAfter(IList <ActionEntity> actionList, IDelegateService delegateService) { if (actionList != null && actionList.Count > 0) { var list = actionList.Where(a => a.FireType == FireTypeEnum.After).ToList(); if (list != null && list.Count > 0) { ActionExecutor.ExecteActionList(list, delegateService); } } }