/// <summary> /// The initialize bootstrapper if required. /// </summary> private void InitializeBootstrapperIfRequired() { if (fooBootstrapper == null) { serviceLocator = new ServiceLocator(); fooBootstrapper = new FooBootstrapper(serviceLocator); fooBootstrapper.Run(); } }