Пример #1
0
 public LogHandlerService(
     IServerConfigurationProvider serverConfigurationProvider,
     IServerPathProvider serverPathProvider)
 {
     this.serverConfigurationProvider = serverConfigurationProvider;
     nlogConfig = serverPathProvider.MapPath(@"~/NLog.config");
 }
Пример #2
0
 public GlobalResourceHandlerService(
     ILocalizationService localizationService,
     IServerConfigurationProvider serverConfigurationProvider,
     IServerPathProvider serverPathProvider)
 {
     this.localizationService = localizationService;
     mobileClientResources    = Path.Combine(serverConfigurationProvider.ClientFilesFolderPath, "Resources");
     appGlobalResources       = serverPathProvider.MapPath(@"~/App_GlobalResources");
 }
Пример #3
0
 public TestMandantLogoService(
     ITransactionScopeProvider transactionScopeProvider,
     IEntityServiceMappingEngine entityServiceMappingEngine,
     ISecurityService securityService,
     ILocalizationService localizationService,
     IServerPathProvider serverPathProvider)
     : base(transactionScopeProvider, entityServiceMappingEngine, securityService, localizationService, serverPathProvider)
 {
     this.serverPathProvider = serverPathProvider;
 }
Пример #4
0
        public HelpSystemService(
            IServerConfigurationProvider serverConfigurationProvider,
            ILocalizationService localizationService,
            IServerPathProvider serverPathProvider)
        {
            this.localizationService = localizationService;

            mobilHelpSystem  = Path.Combine(serverConfigurationProvider.ClientFilesFolderPath, "Help");
            masterHelpSystem = serverPathProvider.MapPath("~/Help");
            LoadNames();
        }
Пример #5
0
 public GISReportService(
     ICreateWMSRequest createWmsRequest,
     IServerPathProvider serverPathProvider,
     ILocalizationService localizationService,
     ILegendService legendService)
 {
     createWMSRequest         = createWmsRequest;
     this.serverPathProvider  = serverPathProvider;
     this.localizationService = localizationService;
     this.legendService       = legendService;
 }
Пример #6
0
 protected ImportServiceBase(
     ILocalizationService localizationService,
     IValidatorFactory validatorFactory,
     IEreignisLogService ereignisLogService,
     IEntityServiceMappingEngine entityServiceMappingEngine,
     ICookieService cookieService,
     IServerPathProvider serverPathProvider)
 {
     LocalizationService             = localizationService;
     this.validatorFactory           = validatorFactory;
     this.ereignisLogService         = ereignisLogService;
     this.entityServiceMappingEngine = entityServiceMappingEngine;
     this.cookieService      = cookieService;
     this.serverPathProvider = serverPathProvider;
 }
 public StrassenabschnittXlsxImportService(
     IValidatorFactory validatorFactory,
     ILocalizationService localizationService,
     IStrassenabschnittImportService strassenabschnittImportService,
     IBelastungskategorieService belastungskategorieService,
     IEreignisLogService ereignisLogService,
     ISessionService sessionService,
     IEntityServiceMappingEngine entityServiceMappingEngine,
     ICookieService cookieService,
     IServerPathProvider serverPathProvider)
     : base(localizationService, validatorFactory, ereignisLogService, entityServiceMappingEngine, cookieService, serverPathProvider)
 {
     this.strassenabschnittImportService = strassenabschnittImportService;
     this.belastungskategorieService     = belastungskategorieService;
     this.sessionService = sessionService;
 }
Пример #8
0
 public ZustandsabschnittXlsxImportService(
     ILocalizationService localizationService,
     IStrassenabschnittService strassenabschnittService,
     IMassnahmenvorschlagKatalogService massnahmenvorschlagKatalogService,
     IValidatorFactory validatorFactory,
     IZustandsabschnittImportService zustandsabschnittImportService,
     IEreignisLogService ereignisLogService,
     IEntityServiceMappingEngine entityServiceMappingEngine,
     ISessionService sessionService,
     ICookieService cookieService,
     IServerPathProvider serverPathProvider
     )
     : base(localizationService, validatorFactory, ereignisLogService, entityServiceMappingEngine, cookieService, serverPathProvider)
 {
     this.strassenabschnittService          = strassenabschnittService;
     this.massnahmenvorschlagKatalogService = massnahmenvorschlagKatalogService;
     this.zustandsabschnittImportService    = zustandsabschnittImportService;
     this.sessionService = sessionService;
 }
Пример #9
0
        public MandantLogoService(
            ITransactionScopeProvider transactionScopeProvider,
            IEntityServiceMappingEngine entityServiceMappingEngine,
            ISecurityService securityService,
            ILocalizationService localizationService,
            IServerPathProvider serverPathProvider)
            : base(transactionScopeProvider, entityServiceMappingEngine, securityService)
        {
            this.localizationService = localizationService;

            var imagePath = serverPathProvider.MapPath(@"~/App_Data/DefaultLogo.png");
            var image     = Image.FromFile(imagePath);

            defaultMandantLogoModel = new MandantLogoModel
            {
                Logo   = File.ReadAllBytes(imagePath),
                Height = image.Height,
                Width  = image.Width
            };
        }
Пример #10
0
 public HilfeSucheService(IServerPathProvider serverPathProvider)
 {
     this.serverPathProvider = serverPathProvider;
     helpTexts    = new Lazy <Dictionary <EmsgLanguage, Dictionary <string, string> > >(LoadHelpTexts);
     helpInhalten = new Lazy <Dictionary <EmsgLanguage, Dictionary <string, string> > >(ParseInhaltPages);
 }
Пример #11
0
 public ReportLegendImageService(IServerPathProvider serverPathProvider)
 {
     this.serverPathProvider = serverPathProvider;
 }
Пример #12
0
 public RazorTemplateService([NotNull] IServerPathProvider serverPathProvider)
 {
     this.serverPathProvider = serverPathProvider;
     razor = new Lazy <IRazorEngineService>(CreateRazor, LazyThreadSafetyMode.ExecutionAndPublication);
 }