private static void InitializeContainer(UnitOfWorkApplication self)
 {
     if (IoC.IsInitialized)
     {
         return;
     }
     self.CreateContainer();
 }
 private static void InitializeContainer(UnitOfWorkApplication self)
 {
     if (IoC.IsInitialized)
         return;
     self.CreateContainer();
 }
 public void ReadingFileWillNotLockIt()
 {
     UnitOfWorkApplication application = new UnitOfWorkApplication();
     application.Application_Start(this, EventArgs.Empty);
     File.AppendAllText("windsor.boo", Environment.NewLine);
 }
 public void FirstRequestForUoWAppWillInitializeContainer()
 {
     UnitOfWorkApplication application = new UnitOfWorkApplication();
     application.Application_Start(this, EventArgs.Empty);
     Assert.IsNotNull(IoC.Container);
 }