예제 #1
0
        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);
        }
예제 #2
0
        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);
        }