예제 #1
0
 public static void Remove()
 {
     if (instance != null)
     {
         instance.Browser.Quit();
         instance = null;
     }
 }
예제 #2
0
 public static ApplicationSingleBrouser Get(ApplicationSource applicationSource)
 {
     if (instance == null)
     {
         if (applicationSource == null)
         {
             applicationSource = ApplicationSourceRepository.Default();
         }
         instance = new ApplicationSingleBrouser(applicationSource);
     }
     return(instance);
 }