public EnvironmentUsageAttribute(EnvironmentProfile environment)
 {
     Environment = environment;
 }
 /// <summary>
 /// Default bootstrap init that will create default kernel
 /// </summary>
 public virtual void Initialize(EnvironmentProfile environment)
 {
     Initialize();
 }
 public void Initialize(EnvironmentProfile environment)
 {
     InitLogger();
     InitAutoMapper();
 }
 /// <summary>
 /// Dispose the ninject service resolver
 /// </summary>
 /// <param name="environment"></param>
 public virtual void Dispose(EnvironmentProfile environment)
 {
     ShutDown();
 }
 /// <summary>
 /// Initialize the bootstrapper
 /// </summary>
 private static void Init()
 {
     _settings = new AppSettings();
     _environment = _settings.Environment;
     _bootstrapper = new Infrastructure.Configuration.Bootstrapper();
 }