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