Ejemplo n.º 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();
        }
Ejemplo n.º 2
0
 public DataFetchController(IWebAppContext appContext
                            , IQueryViewFinder queryViewService
                            , IRelationShipFinder relationShipFinder
                            , IRoleObjectAccessService roleObjectAccessService
                            , IFetchDataService fetchDataService)
     : base(appContext)
 {
     _queryViewFinder         = queryViewService;
     _relationShipFinder      = relationShipFinder;
     _fetchService            = fetchDataService;
     _roleObjectAccessService = roleObjectAccessService;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 11
0
 public WeatherController(IFetchDataService fetchDataService)
 {
     _fetchDataService = fetchDataService;
 }
Ejemplo n.º 12
0
 public MovieService(IFetchDataService dataFetcher)
 {
     _fetchDataService = dataFetcher;
 }
Ejemplo n.º 13
0
 public FetchDataViewModel(IFetchDataService dataService)
 {
     this.dataService = dataService;
     IsFahrenheit     = true;
 }
Ejemplo n.º 14
0
 public FetchDataServiceTests(IFetchDataService fetchDataService)
 {
     _fetchDataService = fetchDataService;
 }