/// <summary> /// Register an other bootstrapper to initialize. /// </summary> /// <param name="boot">BootStrapper to initialize.</param> public void Register(IBootStrap boot) { if (_bootList.Contains(boot)) throw new InvalidOperationException("This bootstrapper has already been added to the initialization list."); _bootList.Add(boot); }
/// <summary> /// Register an other bootstrapper to initialize. /// </summary> /// <param name="boot">BootStrapper to initialize.</param> public void Register(IBootStrap boot) { if (_bootList.Contains(boot)) { throw new InvalidOperationException("This bootstrapper has already been added to the initialization list."); } _bootList.Add(boot); }