public SampleWorkerServiceModule() { _appConfiguration = AppConfigurations.Get(Assembly.GetExecutingAssembly().GetDirectoryPathOrNull()); }
public QyMsg(IHostingEnvironment env, ISynchronizeManager synchronizeManager) { this._synchronizeManager = synchronizeManager; _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName, env.IsDevelopment()); }
public SimpleTaskSystemWebModule(IHostingEnvironment env) { _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName); }
public TestAppConfigurationAccessor() { Configuration = AppConfigurations.Get( typeof(ERPTestBaseModule).GetAssembly().GetDirectoryPathOrNull() ); }
private static string GetConnectionString() { var configuration = AppConfigurations.Get(WebContentDirectoryFinder.CalculateContentRootFolder()); return(configuration.GetConnectionString(WebApiConsts.MysqlConnectionStringName)); }
private static IConfigurationRoot GetConfiguration() { return(AppConfigurations.Get(Directory.GetCurrentDirectory(), addUserSecrets: true)); }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { base.OnConfiguring(optionsBuilder); optionsBuilder.UseMySql(_appConfigurations.Get("ConnectionString")); }
public ResponsibleSystemCommonCosmosDbModule(IHostingEnvironment env) { _env = env; _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName, env.IsDevelopment()); //env.GetAppConfiguration(); }
public ScrmApiModule(IHostingEnvironment env) { _env = env; _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName); }
public GalaxyFlowWebModule(IHostingEnvironment env) { _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName); }
public Startup(IHostingEnvironment env) { _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName); }
public IEManageSystemWebModule(IWebHostEnvironment env) { _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName); }
public PermissionChecker(IHostingEnvironment env) { AbpSession = NullAbpSession.Instance; Logger = NullLogger.Instance; appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName); }
public HRManagerWebModule(IHostingEnvironment env) { _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName); }
public CustomerLogic() { _appConfiguration = AppConfigurations.Get( typeof(CustomerLogic).GetAssembly().GetDirectoryPathOrNull() ); }
public FridgeApplicationModule() { _configuration = AppConfigurations.Get( typeof(FridgeApplicationModule).GetAssembly().GetDirectoryPathOrNull()); }
public TestAppConfigurationAccessor() { Configuration = AppConfigurations.Get( typeof(WebPortalTestModule).GetAssembly().GetDirectoryPathOrNull() ); }
public AbpZeroTemplateMigratorModule() { _appConfiguration = AppConfigurations.Get( typeof(AbpZeroTemplateMigratorModule).Assembly.GetDirectoryPathOrNull() ); }
public MultiAPIMigratorModule() { _appConfiguration = AppConfigurations.Get( typeof(MultiAPIMigratorModule).Assembly.GetDirectoryPathOrNull() ); }
public TaobaoAuthorizationWebModule(IHostingEnvironment env) { _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName); }
public RecevieProjectAuditResult(IHostingEnvironment env) { _env = env; _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName, env.IsDevelopment()); }
public ExpeditioMigratorModule() { _appConfiguration = AppConfigurations.Get( typeof(ExpeditioMigratorModule).Assembly.GetDirectoryPathOrNull() ); }
public BoilerplateCoreWebModule(IHostingEnvironment env) { _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName); }
public TestProjectWebModule(IHostingEnvironment env) { _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName); }
public GuidersHubMigratorModule() { _appConfiguration = AppConfigurations.Get( typeof(GuidersHubMigratorModule).Assembly.GetDirectoryPathOrNull() ); }
public static IConfigurationRoot GetConfiguration(this IHostingEnvironment env) { return(AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName, env.IsDevelopment())); }
public MyConnectionStringResolver(IAbpStartupConfiguration configuration, IHostingEnvironment hostingEnvironment) : base(configuration) { _appConfiguration = AppConfigurations.Get(hostingEnvironment.ContentRootPath, hostingEnvironment.EnvironmentName); }