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

            _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName, env.IsDevelopment());
        }
Ejemplo n.º 3
0
 public SimpleTaskSystemWebModule(IHostingEnvironment env)
 {
     _appConfiguration = AppConfigurations.Get(env.ContentRootPath, env.EnvironmentName);
 }
 public TestAppConfigurationAccessor()
 {
     Configuration = AppConfigurations.Get(
         typeof(ERPTestBaseModule).GetAssembly().GetDirectoryPathOrNull()
         );
 }
Ejemplo n.º 5
0
        private static string GetConnectionString()
        {
            var configuration = AppConfigurations.Get(WebContentDirectoryFinder.CalculateContentRootFolder());

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