public static PackageSingleton GetInstance() { if (package == null) { package = new PackageSingleton(); } // Assign the service url to the default address package.ServiceUrl = MANYWHO_BASE_URL; return(package); }
public static PackageSingleton GetInstance(string serviceUrl) { if (package == null) { package = new PackageSingleton(); } // Assign the service url to the provided address package.ServiceUrl = serviceUrl; return(package); }