コード例 #1
0
 public static TestingUmbracoApplication EnsureApplication()
 {
     if (application == null)
     {
         string baseDirectory = AppDomain.CurrentDomain.BaseDirectory;
         application = new TestingUmbracoApplication(baseDirectory);
         application.Start();
     }
     return(application);
 }
コード例 #2
0
 public static TestingUmbracoApplication EnsureApplication()
 {
     if (application == null)
     {
         string baseDirectory = AppDomain.CurrentDomain.BaseDirectory;
         application = new TestingUmbracoApplication(baseDirectory);
         application.Start();
     }
     return application;
 }