Start() 공개 메소드

Starts the application and starts module loading.
public Start ( ) : void
리턴 void
예제 #1
0
 public void Start()
 {
     Bootstrapper boot = new Bootstrapper();
     boot.Start(this.GetType().Assembly);
     _isInstalled = false;
     installerstack.Clear();
 }
예제 #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);
 }
예제 #3
0
 public void Install_when_application_is_started()
 {
     Assert.IsFalse(_isInstalled);
     Bootstrapper boot = new Bootstrapper();
     boot.Start(this.GetType().Assembly);
     Assert.IsTrue(_isInstalled);
 }
예제 #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);
 }
예제 #5
0
 public void Initialize()
 {
     //CrowCore.RegisterOnDemand(new MyAspectStartupInstaller());
     Bootstrapper boot = new Bootstrapper();
     boot.Start(this.GetType().Assembly);
 }