Esempio n. 1
0
 public AppContext(ILogger logger, ICacheProvider cache)
 {
     //Environment = new EnvironmentPH();
     Logger = logger;
     Cache = cache;
     Settings = new AppSettings();
 }
Esempio n. 2
0
 public AppContext()
 {
     Settings = new AppSettings();
 }
Esempio n. 3
0
 /// <summary>
 /// Initialize the bootstrapper
 /// </summary>
 private static void Init()
 {
     _settings = new AppSettings();
     _environment = _settings.Environment;
     _bootstrapper = new Infrastructure.Configuration.Bootstrapper();
 }