Exemplo n.º 1
0
        internal PackageManagerResult Deprecate(string name)
        {
            dynSettings.Controller.DynamoViewModel.OnRequestAuthentication();

            try
            {
                var nv          = new Greg.Requests.Deprecate(name, "dynamo");
                var pkgResponse = Client.ExecuteAndDeserialize(nv);
                return(new PackageManagerResult(pkgResponse.message, pkgResponse.success));
            }
            catch
            {
                return(new PackageManagerResult("Failed to send.", false));
            }
        }
Exemplo n.º 2
0
        internal PackageManagerResult Deprecate(string name)
        {
            dynSettings.Controller.DynamoViewModel.OnRequestAuthentication();

            try
            {
                var nv = new Greg.Requests.Deprecate(name, "dynamo");
                var pkgResponse = Client.ExecuteAndDeserialize(nv);
                return new PackageManagerResult(pkgResponse.message, pkgResponse.success);
            }
            catch
            {
                return new PackageManagerResult("Failed to send.", false);
            }
        }