public RejectMenuItemsHandler( ITabRepository tabRepository, IMenuItemsService menuItemsService, IValidator <RejectMenuItems> validator, IEventBus eventBus, IMapper mapper) : base(tabRepository, menuItemsService, validator, eventBus, mapper) { }
public CloseTabHandler( ITabRepository tabRepository, IMenuItemsService menuItemsService, IValidator <CloseTab> validator, IEventBus eventBus, IMapper mapper) : base(tabRepository, menuItemsService, validator, eventBus, mapper) { }
public BaseTabHandler( ITabRepository tabRepository, IMenuItemsService menuItemsService, IValidator <TCommand> validator, IEventBus eventBus, IMapper mapper) : base(validator, eventBus, mapper) { TabRepository = tabRepository; MenuItemsService = menuItemsService; }
public OpenTabHandler( ITabRepository tabRepository, IMenuItemsService menuItemsService, IValidator <OpenTab> validator, IEventBus eventBus, IMapper mapper, ITabViewRepository tabViewRepository, ITableRepository tableRepository) : base(tabRepository, menuItemsService, validator, eventBus, mapper) { _tabViewRepository = tabViewRepository; _tableRepository = tableRepository; }
public IndexViewModel Build(int classId, string orderBy, string direction, int skip, int take) { ITabRepository tabRepository = this.handler.Storage.GetRepository <ITabRepository>(); return(new IndexViewModel() { ClassId = classId, Grid = new GridViewModelBuilder(this.handler).Build( orderBy, direction, skip, take, tabRepository.CountByClassId(classId), new[] { new GridColumnViewModelBuilder(this.handler).Build("Name", "Name"), new GridColumnViewModelBuilder(this.handler).Build("Position", "Position"), new GridColumnViewModelBuilder(this.handler).BuildEmpty() }, tabRepository.FilteredByClassRange(classId, orderBy, direction, skip, take).Select(t => new TabViewModelBuilder(this.handler).Build(t)), "_Tab" ) }); }
public IndexViewModel Create(int classId, string orderBy, string direction, int skip, int take, string filter) { ITabRepository tabRepository = this.RequestHandler.Storage.GetRepository <ITabRepository>(); return(new IndexViewModel() { ClassId = classId, Grid = new GridViewModelFactory(this.RequestHandler).Create( orderBy, direction, skip, take, tabRepository.CountByClassId(classId, filter), new[] { new GridColumnViewModelFactory(this.RequestHandler).Create("Name", "Name"), new GridColumnViewModelFactory(this.RequestHandler).Create("Position", "Position"), new GridColumnViewModelFactory(this.RequestHandler).CreateEmpty() }, tabRepository.FilteredByClassIdRange(classId, orderBy, direction, skip, take, filter).ToList().Select(t => new TabViewModelFactory(this.RequestHandler).Create(t)), "_Tab" ) }); }
public TabService(ITabRepository tabRepository) { _tabRepository = tabRepository; }
public TabService(ITabRepository tabRepository, IRelativityOneService relativityOneService) { this.tabRepository = tabRepository; this.relativityOneService = relativityOneService; }
public TabService(ITabRepository repository) { _repository = repository; }
public SearchService(ITabRepository tabRepository) { this.tabRepository = tabRepository; }