public ServerHostManageController(IWebAppContext appContext
                                   , IServerHostManageService serverHostManageService
                                   )
     : base(appContext)
 {
     _serverHostManageService = serverHostManageService;
 }
示例#2
0
 public FormController(IWebAppContext appContext
                       , ISystemFormFinder systemFormFinder
                       , ISystemFormUpdater systemFormUpdater
                       , IEntityFinder entityService
                       , IRibbonButtonFinder ribbonbuttonFinder
                       , IDataFinder dataFinder
                       , IAttributeFinder attributeFinder
                       , IWorkFlowInstanceService workFlowInstanceService
                       , ISystemUserPermissionService systemUserPermissionService
                       , IFormService formService
                       , ISystemFormStatusSetter systemFormStatusSetter
                       , IWorkFlowProcessFinder workFlowProcessFinder
                       , IRibbonButtonStatusSetter ribbonButtonStatusSetter
                       , IRoleObjectAccessEntityPermissionService roleObjectAccessEntityPermissionService
                       , ISerialNumberRuleFinder serialNumberRuleFinder)
     : base(appContext)
 {
     _systemFormFinder                        = systemFormFinder;
     _systemFormUpdater                       = systemFormUpdater;
     _entityFinder                            = entityService;
     _ribbonbuttonFinder                      = ribbonbuttonFinder;
     _dataFinder                              = dataFinder;
     _attributeFinder                         = attributeFinder;
     _workFlowInstanceService                 = workFlowInstanceService;
     _systemUserPermissionService             = systemUserPermissionService;
     _formService                             = formService;
     _systemFormStatusSetter                  = systemFormStatusSetter;
     _workFlowProcessFinder                   = workFlowProcessFinder;
     _ribbonButtonStatusSetter                = ribbonButtonStatusSetter;
     _roleObjectAccessEntityPermissionService = roleObjectAccessEntityPermissionService;
     _serialNumberRuleFinder                  = serialNumberRuleFinder;
 }
示例#3
0
 public FlowController(IWebAppContext appContext
                       , IEntityFinder entityFinder
                       , ISolutionService solutionService
                       , IWorkFlowFinder workFlowFinder
                       , IWorkFlowCreater workFlowCreater
                       , IWorkFlowUpdater workFlowUpdater
                       , IWorkFlowDeleter workFlowDeleter
                       , IWorkFlowProcessFinder workFlowProcessFinder
                       , IProcessStageService processStageService
                       , IWorkFlowInstanceService workFlowInstanceService
                       , IWorkFlowStepService workFlowStepService
                       , IWorkFlowCanceller workFlowCanceller)
     : base(appContext, solutionService)
 {
     _entityFinder            = entityFinder;
     _workFlowFinder          = workFlowFinder;
     _workFlowCreater         = workFlowCreater;
     _workFlowUpdater         = workFlowUpdater;
     _workFlowDeleter         = workFlowDeleter;
     _workFlowInstanceService = workFlowInstanceService;
     _workFlowProcessFinder   = workFlowProcessFinder;
     _processStageService     = processStageService;
     _workFlowStepService     = workFlowStepService;
     _workFlowCanceller       = workFlowCanceller;
 }
示例#4
0
 public OptionSetController(IWebAppContext appContext
                            , IOptionSetFinder optionSetFinder
                            , IOptionSetDetailFinder optionSetDetailFinder) : base(appContext)
 {
     _optionSetFinder       = optionSetFinder;
     _optionSetDetailFinder = optionSetDetailFinder;
 }
示例#5
0
 public DependencyController(IWebAppContext appContext
                             , ISolutionService solutionService
                             , IDependencyLookupFactory dependencyLookupFactory
                             ) : base(appContext, solutionService)
 {
     _dependencyLookupFactory = dependencyLookupFactory;
 }
示例#6
0
        public AggRootSaveController(IWebAppContext appContext
                                     , IEntityFinder entityFinder
                                     , IAttributeFinder attributeFinder
                                     , IRelationShipFinder relationShipFinder

                                     , IDataCreater dataCreater
                                     , IDataUpdater dataUpdater

                                     , IAggCreater aggCreater
                                     , IAggUpdater aggUpdater
                                     , IAggFinder aggFinder

                                     , IAttachmentCreater attachmentCreater

                                     , IBusinessProcessFlowInstanceUpdater businessProcessFlowInstanceUpdater)
            : base(appContext)
        {
            _entityFinder       = entityFinder;
            _attributeFinder    = attributeFinder;
            _relationShipFinder = relationShipFinder;

            _dataCreater = dataCreater;
            _dataUpdater = dataUpdater;

            _aggCreater = aggCreater;
            _aggUpdater = aggUpdater;
            _aggFinder  = aggFinder;

            _attachmentCreater = attachmentCreater;

            _businessProcessFlowInstanceUpdater = businessProcessFlowInstanceUpdater;
        }
 public ContactAdviserControllerTests()
 {
     fakeSessionStorage    = A.Fake <ISessionStorage <ContactUs> >(ops => ops.Strict());
     fakeApplicationLogger = A.Fake <IApplicationLogger>(ops => ops.Strict());
     fakeWebAppcontext     = A.Fake <IWebAppContext>();
     fakeMapper            = A.Fake <IMapper>();
 }
示例#8
0
 public BlobLoggerConfigureOptions(IConfiguration configuration, IWebAppContext context, Action <AzureBlobLoggerOptions> configureOptions)
     : base(configuration, "AzureBlobEnabled")
 {
     _configuration    = configuration;
     _context          = context;
     _configureOptions = configureOptions;
 }
示例#9
0
 public LocalizationController(IWebAppContext appContext
                               , ISolutionService solutionService
                               , ILocalizedTextProvider localizedTextProvider)
     : base(appContext, solutionService)
 {
     _localizedTextProvider = localizedTextProvider;
 }
示例#10
0
 public SolutionComponentController(IWebAppContext appContext
                                    , ISolutionService solutionService
                                    , ISolutionComponentService solutionComponentService)
     : base(appContext, solutionService)
 {
     _solutionComponentService = solutionComponentService;
 }
示例#11
0
 public ReportController(IWebAppContext appContext
                         , IReportService reportService
                         , ISolutionService solutionService)
     : base(appContext, solutionService)
 {
     _reportService = reportService;
 }
示例#12
0
 public EntityDeleterController(IWebAppContext appContext
                                , ISolutionService solutionService
                                , IEntityDeleter entityDeleter
                                )
     : base(appContext, solutionService)
 {
     _entityDeleter = entityDeleter;
 }
示例#13
0
 public SkillsFrameworkDataImportControllerTests()
 {
     fakeImportSkillsFrameworkDataService = A.Fake <IImportSkillsFrameworkDataService>(ops => ops.Strict());
     fakeReportAuditRepository            = A.Fake <IReportAuditRepository>(ops => ops.Strict());
     fakeWebAppContext     = A.Fake <IWebAppContext>(ops => ops.Strict());
     fakeApplicationLogger = A.Fake <IApplicationLogger>(ops => ops.Strict());
     SetupCalls();
 }
 public AssetLocationAndVersionTests()
 {
     fakeConfigurationProvider = A.Fake <IConfigurationProvider>(ops => ops.Strict());
     fakeHTTPClientService     = A.Fake <IHttpClientService <IAssetLocationAndVersion> >(ops => ops.Strict());
     fakeWbAppContext          = A.Fake <IWebAppContext>(ops => ops.Strict());
     fakeApplicationLogger     = A.Fake <IApplicationLogger>(ops => ops.Strict());
     fakeAsyncHelper           = new AsyncHelper();
 }
示例#15
0
 public LocalizationController(IWebAppContext appContext
                               , ILanguageService languageService
                               , ILocalizedTextProvider localizedTextProvider)
     : base(appContext)
 {
     _languageService       = languageService;
     _localizedTextProvider = localizedTextProvider;
 }
示例#16
0
 public PrivilegeController(IWebAppContext appContext
                            , IPrivilegeService privilegeService
                            , IPrivilegeTreeBuilder privilegeTreeBuilder)
     : base(appContext)
 {
     _privilegeService     = privilegeService;
     _privilegeTreeBuilder = privilegeTreeBuilder;
 }
示例#17
0
 public DashBoardController(IWebAppContext appContext
                            , ISystemFormFinder systemFormFinder
                            , ISystemFormUpdater systemFormUpdater)
     : base(appContext)
 {
     _systemFormFinder  = systemFormFinder;
     _systemFormUpdater = systemFormUpdater;
 }
示例#18
0
 public DataDeleterController(IWebAppContext appContext
                              , IEntityFinder entityFinder
                              , IDataDeleter dataDeleter)
     : base(appContext)
 {
     _entityFinder = entityFinder;
     _dataDeleter  = dataDeleter;
 }
示例#19
0
 public OrgUpdaterController(IWebAppContext appContext
                             , IOrganizationService organizationService
                             , IDataUpdater dataUpdater)
     : base(appContext)
 {
     _organizationService = organizationService;
     _dataUpdater         = dataUpdater;
 }
示例#20
0
 public DataShareController(IWebAppContext appContext
                            , IPrincipalObjectAccessService principalObjectAccessService
                            , IDataSharer dataSharer)
     : base(appContext)
 {
     _principalObjectAccessService = principalObjectAccessService;
     _dataSharer = dataSharer;
 }
示例#21
0
 public EntityMapController(IWebAppContext appContext
                            , IEntityMapFinder entityMapFinder
                            , IEntityFinder entityService)
     : base(appContext)
 {
     _entityMapFinder = entityMapFinder;
     _entityFinder    = entityService;
 }
示例#22
0
 public SettingsController(IWebAppContext appContext
                           , ISettingService settingService
                           , ISettingFinder settingFinder)
     : base(appContext)
 {
     _settingService = settingService;
     _settingFinder  = settingFinder;
 }
    public LoggerBuilderExtensionsTests()
    {
        var contextMock = new Mock <IWebAppContext>();

        contextMock.SetupGet(c => c.IsRunningInAzureWebApp).Returns(true);
        contextMock.SetupGet(c => c.HomeFolder).Returns(".");
        _appContext = contextMock.Object;
    }
示例#24
0
 public AttributeMetadataController(IWebAppContext appContext
                                    , IEntityFinder entityService
                                    , IAttributeFinder attributeService)
     : base(appContext)
 {
     _entityFinder    = entityService;
     _attributeFinder = attributeService;
 }
示例#25
0
 public ApprenticeshipVacancyReportControllerTests()
 {
     fakeReportRepository = A.Fake <IJobProfileReportRepository>(ops => ops.Strict());
     fakeLoggingService   = A.Fake <IApplicationLogger>(ops => ops.Strict());
     fakeWebAppContext    = A.Fake <IWebAppContext>();
     fakeCachingPolicy    = A.Fake <ICachingPolicy>();
     fakeList             = Enumerable.Empty <JobProfileApprenticeshipVacancyReport>().AsQueryable();
 }
 public EntityAssigningController(IWebAppContext appContext
                                  , IEntityFinder entityFinder
                                  , IDataAssigner dataAssigner)
     : base(appContext)
 {
     _entityFinder = entityFinder;
     _dataAssigner = dataAssigner;
 }
示例#27
0
 public WorkFlowCancellerController(IWebAppContext appContext
                                    , IEntityFinder entityFinder
                                    , IWorkFlowCanceller workFlowCanceller)
     : base(appContext)
 {
     _entityFinder      = entityFinder;
     _workFlowCanceller = workFlowCanceller;
 }
示例#28
0
 public EntityTreeController(IWebAppContext appContext
                             , IEntityFinder entityService
                             , IDataFinder dataFinder)
     : base(appContext)
 {
     _entityFinder = entityService;
     _dataFinder   = dataFinder;
 }
示例#29
0
 public EntityPermissionController(IWebAppContext appContext
                                   , IEntityPermissionService entityPermissionService
                                   , IEntityFinder entityService)
     : base(appContext)
 {
     _entityPermissionService = entityPermissionService;
     _entityFinder            = entityService;
 }
示例#30
0
 public NoticeController(IWebAppContext appContext
                         , IDataFinder dataFinder
                         , IDataUpdater dataUpdater)
     : base(appContext)
 {
     _dataFinder  = dataFinder;
     _dataUpdater = dataUpdater;
 }