Пример #1
0
 public ResultStatus LoadESigDetails(
     PackageTypeMaint packageTypeMaint,
     PackageTypeMaint_Request request,
     out PackageTypeMaint_Result result)
 {
     return(this.LoadESigDetails(packageTypeMaint, (PackageTypeMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus Freeze(
     PackageTypeMaint packageTypeMaint,
     PackageTypeMaint_Request request,
     out PackageTypeMaint_Result result)
 {
     return(this.Freeze(packageTypeMaint, (PackageTypeMaint_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus GetWIPMsgs(
     PackageTypeMaint packageTypeMaint,
     PackageTypeMaint_Request request,
     out PackageTypeMaint_Result result)
 {
     return(this.GetWIPMsgs(packageTypeMaint, (PackageTypeMaint_Parameters)null, request, out result));
 }
Пример #4
0
 public ResultStatus GetEnvironment(
     PackageTypeMaint cdo,
     PackageTypeMaint_Request request,
     out PackageTypeMaint_Result result)
 {
     result = (PackageTypeMaint_Result)null;
     try
     {
         return(((IPackageTypeMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #5
0
 public ResultStatus CommitTransaction(
     PackageTypeMaint_Request request,
     out PackageTypeMaint_Result result)
 {
     result = (PackageTypeMaint_Result)null;
     try
     {
         PackageTypeMaintMethod[] methods = new PackageTypeMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IPackageTypeMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #6
0
        public ResultStatus ExecuteTransaction(
            PackageTypeMaint cdo,
            PackageTypeMaint_Request request,
            out PackageTypeMaint_Result result)
        {
            result = (PackageTypeMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IPackageTypeMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new PackageTypeMaintMethod(cdo, PackageTypeMaintMethods.ExecuteTransaction, (PackageTypeMaint_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(ExecuteTransaction), res, (DCObject)cdo, (Parameters)null, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #7
0
        public ResultStatus Freeze(
            PackageTypeMaint packageTypeMaint,
            PackageTypeMaint_Parameters parameters,
            PackageTypeMaint_Request request,
            out PackageTypeMaint_Result result)
        {
            result = (PackageTypeMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)packageTypeMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IPackageTypeMaintService)this._Channel).Freeze(this._UserProfile, packageTypeMaint, parameters, request, out result) : this.AddMethod((Method) new PackageTypeMaintMethod(packageTypeMaint, PackageTypeMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)packageTypeMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #8
0
 public ResultStatus ExecuteTransaction(
     PackageTypeMaint_Request request,
     out PackageTypeMaint_Result result)
 {
     return(this.ExecuteTransaction((PackageTypeMaint)null, request, out result));
 }
Пример #9
0
 public ResultStatus GetEnvironment(
     PackageTypeMaint_Request request,
     out PackageTypeMaint_Result result)
 {
     return(this.GetEnvironment((PackageTypeMaint)null, request, out result));
 }