예제 #1
0
        public AggFinder(
            IAppContext appContext
            , IDataFinder dataFinder
            , ISystemFormFinder systemFormFinder
            , IEntityFinder entityFinder
            , IRelationShipFinder relationShipFinder
            , IQueryViewFinder queryViewFinder
            , IFetchDataService fetchDataService

            , IRoleObjectAccessEntityPermissionService roleObjectAccessEntityPermissionService
            , IPrincipalObjectAccessService principalObjectAccessService
            , IEventPublisher eventPublisher
            , IBusinessUnitService businessUnitService
            , IOrganizationDataRetriever organizationDataRetriever
            )
            : base(appContext, entityFinder, roleObjectAccessEntityPermissionService, principalObjectAccessService, eventPublisher, businessUnitService)
        {
            _organizationDataRetriever = organizationDataRetriever;
            _systemFormFinder          = systemFormFinder;
            _relationShipFinder        = relationShipFinder;
            _queryViewFinder           = queryViewFinder;
            _fetchService = fetchDataService;

            _dataFinder = dataFinder;
            User        = _appContext.GetFeature <ICurrentUser>();

            _aggregateRoot = new AggregateRoot();
        }
예제 #2
0
 public DataFetchController(IWebAppContext appContext
                            , IQueryViewFinder queryViewService
                            , IRelationShipFinder relationShipFinder
                            , IRoleObjectAccessService roleObjectAccessService
                            , IFetchDataService fetchDataService)
     : base(appContext)
 {
     _queryViewFinder         = queryViewService;
     _relationShipFinder      = relationShipFinder;
     _fetchService            = fetchDataService;
     _roleObjectAccessService = roleObjectAccessService;
 }
예제 #3
0
 public ChartBuilder(IAppContext appContext
                     , IChartRepository chartRepository
                     , IStringMapFinder stringMapFinder
                     , IOptionSetDetailFinder optionSetDetailFinder
                     , IFetchDataService fetchDataService)
 {
     _appContext            = appContext;
     _loc                   = appContext.GetFeature <ILocalizedTextProvider>();
     _chartRepository       = chartRepository;
     _optionSetDetailFinder = optionSetDetailFinder;
     _stringMapFinder       = stringMapFinder;
     _fetchDataService      = fetchDataService;
 }
예제 #4
0
 public Worker(
     IFetchDataService fetchDataService,
     ICalculationService calculationService,
     IHubContext <OrderBookHub, IOrderBookHub> orderBookHub,
     IWebHostEnvironment env,
     ILogger <Worker> logger)
 {
     _fetchDataService   = fetchDataService;
     _calculationService = calculationService;
     _orderBookHub       = orderBookHub;
     _env    = env;
     _logger = logger;
 }
예제 #5
0
 public SubGridViewController(IWebAppContext appContext
                              , IQueryViewFinder queryViewFinder
                              , IRibbonButtonFinder ribbonbuttonFinder
                              , IRelationShipFinder relationShipFinder
                              , IGridService gridService
                              , IRoleObjectAccessService roleObjectAccessService
                              , IFetchDataService fetchDataService)
     : base(appContext)
 {
     _gridService             = gridService;
     _fetchService            = fetchDataService;
     _queryViewFinder         = queryViewFinder;
     _ribbonbuttonFinder      = ribbonbuttonFinder;
     _relationShipFinder      = relationShipFinder;
     _roleObjectAccessService = roleObjectAccessService;
 }
 public DataFetchAndAggregateController(IWebAppContext appContext
                                        , IQueryViewFinder queryViewService
                                        , IRelationShipFinder relationShipFinder
                                        , IRoleObjectAccessService roleObjectAccessService
                                        , IFetchDataService fetchDataService
                                        , IAggregateService aggregateService
                                        , IAttributeFinder attributeFinder)
     : base(appContext)
 {
     _queryViewFinder         = queryViewService;
     _relationShipFinder      = relationShipFinder;
     _fetchService            = fetchDataService;
     _roleObjectAccessService = roleObjectAccessService;
     _aggregateService        = aggregateService;
     _attributeFinder         = attributeFinder;
 }
예제 #7
0
 public ChartBuilder(IAppContext appContext
                     , IChartRepository chartRepository
                     , IStringMapFinder stringMapFinder
                     , IOptionSetDetailFinder optionSetDetailFinder
                     , IFetchDataService fetchDataService
                     , IEntityFinder entityFinder
                     , IRoleObjectAccessEntityPermissionService roleObjectAccessEntityPermissionService)
 {
     _appContext            = appContext;
     _user                  = _appContext.GetFeature <ICurrentUser>();
     _loc                   = appContext.GetFeature <ILocalizedTextProvider>();
     _chartRepository       = chartRepository;
     _optionSetDetailFinder = optionSetDetailFinder;
     _stringMapFinder       = stringMapFinder;
     _fetchDataService      = fetchDataService;
     _entityFinder          = entityFinder;
     _roleObjectAccessEntityPermissionService = roleObjectAccessEntityPermissionService;
 }
예제 #8
0
 public QueryViewCreaterController(IWebAppContext appContext
                                   , ISolutionService solutionService
                                   , IEntityFinder entityFinder
                                   , IRoleObjectAccessService roleObjectAccessService
                                   , IFetchDataService fetchDataService
                                   , IQueryViewCreater queryViewCreater
                                   , IQueryViewDeleter queryViewDeleter
                                   , IQueryViewFinder queryViewFinder
                                   , IQueryViewUpdater queryViewUpdater)
     : base(appContext, solutionService)
 {
     _entityFinder            = entityFinder;
     _roleObjectAccessService = roleObjectAccessService;
     _fetchDataService        = fetchDataService;
     _queryViewCreater        = queryViewCreater;
     _queryViewDeleter        = queryViewDeleter;
     _queryViewFinder         = queryViewFinder;
     _queryViewUpdater        = queryViewUpdater;
 }
예제 #9
0
 public DataExporter(IAppContext appContext
                     , ISystemUserPermissionService systemUserPermissionService
                     , IFetchDataService fetchDataService
                     , IAggregateService aggregateService
                     , IAttributeFinder attributeFinder
                     , IRelationShipFinder relationShipFinder
                     , IGridService gridService
                     , IWebHelper webHelper
                     )
 {
     _appContext = appContext;
     _systemUserPermissionService = systemUserPermissionService;
     _fetchDataService            = fetchDataService;
     _aggregateService            = aggregateService;
     _attributeFinder             = attributeFinder;
     _relationShipFinder          = relationShipFinder;
     _gridService = gridService;
     _webHelper   = webHelper;
 }
예제 #10
0
 public QueryViewController(IWebAppContext appContext
                            , ISolutionService solutionService
                            , IEntityFinder entityFinder
                            , IRibbonButtonFinder ribbuttonFinder
                            , IFetchDataService fetchDataService
                            , IQueryViewCreater queryViewCreater
                            , IQueryViewDeleter queryViewDeleter
                            , IQueryViewFinder queryViewFinder
                            , IQueryViewUpdater queryViewUpdater
                            , IWebResourceFinder webResourceFinder)
     : base(appContext, solutionService)
 {
     _entityFinder      = entityFinder;
     _ribbuttonFinder   = ribbuttonFinder;
     _fetchDataService  = fetchDataService;
     _queryViewCreater  = queryViewCreater;
     _queryViewDeleter  = queryViewDeleter;
     _queryViewFinder   = queryViewFinder;
     _queryViewUpdater  = queryViewUpdater;
     _webResourceFinder = webResourceFinder;
 }
예제 #11
0
 public WeatherController(IFetchDataService fetchDataService)
 {
     _fetchDataService = fetchDataService;
 }
예제 #12
0
 public MovieService(IFetchDataService dataFetcher)
 {
     _fetchDataService = dataFetcher;
 }
예제 #13
0
 public FetchDataViewModel(IFetchDataService dataService)
 {
     this.dataService = dataService;
     IsFahrenheit     = true;
 }
예제 #14
0
 public FetchDataServiceTests(IFetchDataService fetchDataService)
 {
     _fetchDataService = fetchDataService;
 }