public SampleWorkerServiceModule()
 {
     _appConfiguration = AppConfigurations.Get(Assembly.GetExecutingAssembly().GetDirectoryPathOrNull());
 }
Example #2
0
        public QyMsg(IHostingEnvironment env, ISynchronizeManager synchronizeManager)
        {
            this._synchronizeManager = synchronizeManager;

            _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName, env.IsDevelopment());
        }
Example #3
0
 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));
        }
Example #6
0
 private static IConfigurationRoot GetConfiguration()
 {
     return(AppConfigurations.Get(Directory.GetCurrentDirectory(), addUserSecrets: true));
 }
Example #7
0
 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();
 }
Example #9
0
 public ScrmApiModule(IHostingEnvironment env)
 {
     _env = env;
     _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName);
 }
 public GalaxyFlowWebModule(IHostingEnvironment env)
 {
     _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName);
 }
Example #11
0
 public Startup(IHostingEnvironment env)
 {
     _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName);
 }
Example #12
0
 public IEManageSystemWebModule(IWebHostEnvironment env)
 {
     _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName);
 }
Example #13
0
 public PermissionChecker(IHostingEnvironment env)
 {
     AbpSession       = NullAbpSession.Instance;
     Logger           = NullLogger.Instance;
     appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName);
 }
Example #14
0
 public HRManagerWebModule(IHostingEnvironment env)
 {
     _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName);
 }
Example #15
0
 public CustomerLogic()
 {
     _appConfiguration = AppConfigurations.Get(
         typeof(CustomerLogic).GetAssembly().GetDirectoryPathOrNull()
         );
 }
Example #16
0
 public FridgeApplicationModule()
 {
     _configuration = AppConfigurations.Get(
         typeof(FridgeApplicationModule).GetAssembly().GetDirectoryPathOrNull());
 }
Example #17
0
 public TestAppConfigurationAccessor()
 {
     Configuration = AppConfigurations.Get(
         typeof(WebPortalTestModule).GetAssembly().GetDirectoryPathOrNull()
         );
 }
 public AbpZeroTemplateMigratorModule()
 {
     _appConfiguration = AppConfigurations.Get(
         typeof(AbpZeroTemplateMigratorModule).Assembly.GetDirectoryPathOrNull()
         );
 }
Example #19
0
 public MultiAPIMigratorModule()
 {
     _appConfiguration = AppConfigurations.Get(
         typeof(MultiAPIMigratorModule).Assembly.GetDirectoryPathOrNull()
         );
 }
Example #20
0
 public TaobaoAuthorizationWebModule(IHostingEnvironment env)
 {
     _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName);
 }
Example #21
0
 public RecevieProjectAuditResult(IHostingEnvironment env)
 {
     _env = env;
     _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName, env.IsDevelopment());
 }
 public ExpeditioMigratorModule()
 {
     _appConfiguration = AppConfigurations.Get(
         typeof(ExpeditioMigratorModule).Assembly.GetDirectoryPathOrNull()
         );
 }
Example #23
0
 public BoilerplateCoreWebModule(IHostingEnvironment env)
 {
     _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName);
 }
Example #24
0
 public TestProjectWebModule(IHostingEnvironment env)
 {
     _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName);
 }
 public GuidersHubMigratorModule()
 {
     _appConfiguration = AppConfigurations.Get(
         typeof(GuidersHubMigratorModule).Assembly.GetDirectoryPathOrNull()
         );
 }
Example #26
0
 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);
 }