コード例 #1
0
        public bool Downvote(string packageId)
        {
            dynSettings.Controller.DynamoViewModel.OnRequestAuthentication();

            try
            {
                var nv          = new Greg.Requests.Downvote(packageId);
                var pkgResponse = Client.ExecuteAndDeserialize(nv);
                return(pkgResponse.success);
            }
            catch
            {
                return(false);
            }
        }
コード例 #2
0
        public bool Downvote(string packageId)
        {
            this.OnRequestAuthentication();

            try
            {
                var nv          = new Greg.Requests.Downvote(packageId);
                var pkgResponse = Client.ExecuteAndDeserialize(nv);
                return(pkgResponse.success);
            }
            catch
            {
                return(false);
            }
        }
コード例 #3
0
        public bool Downvote(string packageId)
        {
            dynSettings.Controller.DynamoViewModel.OnRequestAuthentication();

            try
            {
                var nv = new Greg.Requests.Downvote(packageId);
                var pkgResponse = Client.ExecuteAndDeserialize(nv);
                return pkgResponse.success;
            }
            catch
            {
                return false;
            }
        }
コード例 #4
0
        public bool Downvote(string packageId)
        {
            this.OnRequestAuthentication();

            try
            {
                var nv = new Greg.Requests.Downvote(packageId);
                var pkgResponse = Client.ExecuteAndDeserialize(nv);
                return pkgResponse.success;
            }
            catch
            {
                return false;
            }
        }