/// <summary> /// Called by the bootstrapper's constructor at design time to start the framework. /// </summary> protected virtual void StartDesignTime() { AssemblySource.Instance.Clear(); AssemblySource.AddRange(SelectAssemblies()); Configure(); IoC.GetInstance = GetInstance; IoC.GetAllInstances = GetAllInstances; IoC.BuildUp = BuildUp; }
/// <summary> /// Called by the bootstrapper's constructor at runtime to start the framework. /// </summary>B protected virtual void StartRuntime() { AssemblySourceCache.Install(); AssemblySource.AddRange(SelectAssemblies()); Configure(); IoC.GetInstance = GetInstance; IoC.GetAllInstances = GetAllInstances; IoC.BuildUp = BuildUp; }
/// <summary> /// Called by the bootstrapper's constructor at runtime to start the framework. /// </summary> protected virtual void StartRuntime() { AssemblySourceCache.Install(); AssemblySource.AddRange(SelectAssemblies()); if (useApplication) { Application = Application.Current; PrepareApplication(); } Configure(); IoC.GetInstance = GetInstance; IoC.GetAllInstances = GetAllInstances; IoC.BuildUp = BuildUp; }