Esempio n. 1
0
        public static RunSingleton GetInstance()
        {
            if (run == null)
            {
                run = new RunSingleton();
            }

            // Assign the service url to the default address
            run.ServiceUrl = MANYWHO_BASE_URL;

            return(run);
        }
Esempio n. 2
0
        public static RunSingleton GetInstance(string serviceUrl)
        {
            if (run == null)
            {
                run = new RunSingleton();
            }

            // Assign the service url to the provided address
            run.ServiceUrl = serviceUrl;

            return(run);
        }