Class that handles the loading operations for the library.
Example #1
0
 public void Start()
 {
     Bootstrapper boot = new Bootstrapper();
     boot.Start(this.GetType().Assembly);
     _isInstalled = false;
     installerstack.Clear();
 }
Example #2
0
 public void Install_when_installer_is_registered()
 {
     var installer = new DemoStartupInstaller();
     Bootstrapper boot = new Bootstrapper();
     boot.Start(this.GetType().Assembly);
     Assert.IsTrue(_isInstalled);
 }
Example #3
0
 public void Install_when_application_is_started()
 {
     Assert.IsFalse(_isInstalled);
     Bootstrapper boot = new Bootstrapper();
     boot.Start(this.GetType().Assembly);
     Assert.IsTrue(_isInstalled);
 }
Example #4
0
 public void Install_items_as_a_tree()
 {
     Bootstrapper boot = new Bootstrapper();
     boot.Start(this.GetType().Assembly);
     Assert.AreEqual("Child", installerstack.Pop());
     Assert.AreEqual("Parent", installerstack.Pop());
     Assert.AreEqual("Parent Base", installerstack.Pop());
     Assert.AreEqual(0, installerstack.Count);
 }
Example #5
0
 public void Initialize()
 {
     //CrowCore.RegisterOnDemand(new MyAspectStartupInstaller());
     Bootstrapper boot = new Bootstrapper();
     boot.Start(this.GetType().Assembly);
 }