Initialize() public method

public Initialize ( ) : void
return void
        public void Start()
        {
            dependencyInjection = new DependencyInjection();
            dependencyInjection.Initialize();
            logger = dependencyInjection.Container.Resolve<ILogger>();

            dependencyInjection.Container.Resolve<IMessagePublisher>().Start(9193);
            dependencyInjection.Container.Resolve<IOutgoingQueue>().Start();

            dependencyInjection.Container.Resolve<IIncomingMessageQueue>().Start();
            dependencyInjection.Container.Resolve<IClientMessagePuller>().Start(9192);

            logger.Info("Service started");
        }
 public void AllRegisteredInstancesShouldBeResolved()
 {
     var container = new DependencyInjection();
     container.Initialize();
     Assert.DoesNotThrow(() => DependencyInjectionResolveTester.CheckForPotentiallyMisconfiguredComponents(container.Container));
 }