public ContainerActionFilter(IMenuService menuService, SecurityHelper securityHelper, I18NManager i18NManager, IControllerFinder controllerFinder) { _menuService = menuService; _securityHelper = securityHelper; _i18NManager = i18NManager; _controllerFinder = controllerFinder; }
public CommandManager(IWorkSpaceContext caller, BarManager manager) { this._commands = new Dictionary <string, IUICommand>(); this._caller = caller; this._barManager = manager; this._dynamicGroups = new Dictionary <string, Codon>(); this._controllerFinder = caller.ControllerFinder; }
public void Dispose() { this._commands.Clear(); this._barManager = null; this._caller = null; this._controllerFinder = null; this._dynamicGroups.Clear(); }
public void Dispose() { this._workspace = null; this._actionParameters = null; this._iControllerFinder = null; this._iWorkspaceInfo = null; this._processer = null; }
public void TestInitialise() { _Snapshot = Factory.TakeSnapshot(); _AppDomainWrapper = MockHelper.FactoryImplementation <ITypeFinder>(); _AllTypes = new List <Type>(); _AppDomainWrapper.Setup(r => r.GetAllTypes()).Returns(_AllTypes); _ControllerFinder = Factory.Resolve <IControllerFinder>(); }
public WorkSpaceContext(IWorkspaceInfo workspaceInfo, IControllerFinder controllerFinder, IWorkspace1 workspace, ActionParameters actionParameters, IProcessInfo processer) { this._iWorkspaceInfo = workspaceInfo; this._workspace = workspace; this._iControllerFinder = controllerFinder; this._actionParameters = actionParameters; this._processer = processer; }
/// <summary> /// custom command init /// </summary> /// <param name="commandId"></param> /// <param name="source"></param> /// <param name="checkForViewId"></param> /// <param name="item"></param> /// <param name="action"></param> public UICommand(string commandId, CommandSources source, string checkForViewId, BarItem item, ICommand action, IEnumerable <ICondition> conditions, IControllerFinder finder ) { this._controllerFinder = finder; this._conditions = new List <ICondition>(); this._commandId = commandId; this._ribbonPath = string.Empty; this._source = source; this._checkForViewId = checkForViewId; this._barItem = item; this._actionCommand = action; this._conditions.AddRange(conditions); this.BarItem.ItemClick += _barItem_ItemClick; }
/// <summary> /// dynamic command init /// </summary> /// <param name="commandId"></param> /// <param name="source"></param> /// <param name="checkForViewId"></param> /// <param name="item"></param> /// <param name="action"></param> /// <param name="groupName"></param> public UICommand(string commandId, CommandSources source, BarSubItem item, ICommand action, IEnumerable <ICondition> conditions, string groupName, IRunTimeCommandRigister cmdRegister, IControllerFinder finder) { this._conditions = new List <ICondition>(); this._commandId = commandId; this._ribbonPath = string.Empty; this._source = source; this._checkForViewId = string.Empty; this._ribbonPath = string.Empty; this._barItem = item; this._actionCommand = action; this.BarItem.ItemClick += _barItem_ItemClick; this._groupName = groupName; this._conditions.AddRange(conditions); this._runTimeCommandRigister = cmdRegister; this._controllerFinder = finder; }
public NinjectControllerModule(params Assembly[] assemblies) { _finder = new ConventionControllerFinder(assemblies); }
public DashboardItemSiteCssBuilder(IDashboardItemRepository repository, I18NManager i18NManager, IControllerFinder controllerFinder) { _repository = repository; _i18NManager = i18NManager; _controllerFinder = controllerFinder; }
public RouteGenerator(IRouting routing, IControllerFinder controllerFinder, IActionFinder actionFinder) { _routing = routing; _actionFinder = actionFinder; _controllerFinder = controllerFinder; }
public WindsorControllerFactory(IControllerFinder controllerFinder) { this.controllerFinder = controllerFinder; }
/// <summary> /// Create a content route handler with the provided controller factory /// </summary> /// <param name="controllerFinder">A services that can find a controller for a content item</param> /// <param name="controllerFactory">The object that will create our controllers for us - this is only used to provide a non-default controller Factory.</param> public ContentRouteHandler(IControllerFinder controllerFinder, IControllerFactory controllerFactory) : base(controllerFactory) { this.controllerFinder = controllerFinder; }
/// <summary> /// Create a new default content route handler /// </summary> /// <param name="controllerFinder">A services that can find a controller for a content item</param> public ContentRouteHandler(IControllerFinder controllerFinder) : base() { this.controllerFinder = controllerFinder; }
public XmlReflectionMenuService(I18NManager i18NManager, IControllerFinder controllerFinder) { _i18NManager = i18NManager; _controllerFinder = controllerFinder; }