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