public LogHandlerService( IServerConfigurationProvider serverConfigurationProvider, IServerPathProvider serverPathProvider) { this.serverConfigurationProvider = serverConfigurationProvider; nlogConfig = serverPathProvider.MapPath(@"~/NLog.config"); }
public GlobalResourceHandlerService( ILocalizationService localizationService, IServerConfigurationProvider serverConfigurationProvider, IServerPathProvider serverPathProvider) { this.localizationService = localizationService; mobileClientResources = Path.Combine(serverConfigurationProvider.ClientFilesFolderPath, "Resources"); appGlobalResources = serverPathProvider.MapPath(@"~/App_GlobalResources"); }
public TestMandantLogoService( ITransactionScopeProvider transactionScopeProvider, IEntityServiceMappingEngine entityServiceMappingEngine, ISecurityService securityService, ILocalizationService localizationService, IServerPathProvider serverPathProvider) : base(transactionScopeProvider, entityServiceMappingEngine, securityService, localizationService, serverPathProvider) { this.serverPathProvider = serverPathProvider; }
public HelpSystemService( IServerConfigurationProvider serverConfigurationProvider, ILocalizationService localizationService, IServerPathProvider serverPathProvider) { this.localizationService = localizationService; mobilHelpSystem = Path.Combine(serverConfigurationProvider.ClientFilesFolderPath, "Help"); masterHelpSystem = serverPathProvider.MapPath("~/Help"); LoadNames(); }
public GISReportService( ICreateWMSRequest createWmsRequest, IServerPathProvider serverPathProvider, ILocalizationService localizationService, ILegendService legendService) { createWMSRequest = createWmsRequest; this.serverPathProvider = serverPathProvider; this.localizationService = localizationService; this.legendService = legendService; }
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; }
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; }
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 }; }
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); }
public ReportLegendImageService(IServerPathProvider serverPathProvider) { this.serverPathProvider = serverPathProvider; }
public RazorTemplateService([NotNull] IServerPathProvider serverPathProvider) { this.serverPathProvider = serverPathProvider; razor = new Lazy <IRazorEngineService>(CreateRazor, LazyThreadSafetyMode.ExecutionAndPublication); }