/// <summary> /// Initializes the Unity Container for the application and runs all Bootstrapper tasks in the AppDomain. /// </summary> private static void InitializeContainer() { ServiceContext.Logger.Info("Initializing container."); var bootstrapper = new Bootstrapper(UnityContainerFactory.Container, MapBinPath()); bootstrapper.Run(); }
public void SetUp() { _unityContainer = new UnityContainer(); _bootstrapper = new Bootstrapper(_unityContainer, Environment.CurrentDirectory); }