예제 #1
0
        public static ServiceProxy GetProxyInstace(bool ensureAuthenticated = false)
        {
            if (_proxyInstance == null)
            {
                //  Instantiate a new proxy here
                _proxyInstance = new ServiceProxy();
            }

            if (ensureAuthenticated)
            {
                _proxyInstance.EnsureEnthenticated();
            }

            return(_proxyInstance);
        }