Exemplo n.º 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);
        }
Exemplo n.º 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);
        }