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