Exemple #1
0
 public static void Init()
 {
     if (!_isInitialized)
     {
         lock (_lockThis)
         {
             ContainerBootstrapper.BuildContainer();
             ContainerBootstrapper.ConfigureBus();
             _bus           = IOC.Container.Resolve <IBus>();
             _isInitialized = true;
         }
     }
 }