public static TestsApplication Get(ApplicationSource applicationSource) { if (instance == null) { if (applicationSource == null) { applicationSource = ApplicationSourceRepository.Default(); } instance = new TestsApplication(applicationSource); } return(instance); }
public static ApplicationSingleBrouser Get(ApplicationSource applicationSource) { if (instance == null) { if (applicationSource == null) { applicationSource = ApplicationSourceRepository.Default(); } instance = new ApplicationSingleBrouser(applicationSource); } return(instance); }
public static Application Get(ApplicationSource applicationSource) { if (instance == null) { if (applicationSource == null) { applicationSource = ApplicationSourceRepository.Default(); } instance = new Application(applicationSource); Thread.Sleep(500); } return(instance); }
public static Application Get(ApplicationSource applicationSource) { if (instance == null) { lock (lockingObject) if (instance == null) { if (applicationSource == null) { applicationSource = ApplicationSourceRepository.Default(); } instance = new Application(applicationSource); } } return(instance); }
public static Application Get(ApplicationSource applicationSource) { if (instance == null) { lock (lockingObject) { if (instance == null) { if (applicationSource == null) { applicationSource = ApplicationSourceRepository.Default(); } instance = new Application(applicationSource); // //instance.InitBrowser(applicationSource); //instance.InitSearch(); } } } return(instance); }
public MyAccountPage() { Search = Application.Get(ApplicationSourceRepository.Default()).Search; }