public bool Perform(ExecuteWhen exec, IEngineContext context, IController controller, IControllerContext controllerContext) { if (controller is JelloScrumControllerBase) { JelloScrumControllerBase baseController = controller as JelloScrumControllerBase; baseController.PropertyBag.Add("titel", baseController.Titel); } return true; }
public void ReleaseController(IController controller) { //get spring context IApplicationContext ctx = ContextRegistry.GetContext(); if (!ctx.ContainsObject(controller.GetType().Name)) { if (defalutf == null) { defalutf = new DefaultControllerFactory(); } defalutf.ReleaseController(controller); } }
public void RemoveController(IController controller) { _controllerList.Remove(controller); }
public void AddController(IController controller) { if (!_controllerList.Contains(controller)) _controllerList.Add(controller); }