Пример #1
0
 public ResultStatus GetActions(
     DetachDocument detachDocument,
     DetachDocument_Request request,
     out DetachDocument_Result result)
 {
     return(this.GetActions(detachDocument, (DetachDocument_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus CreateParametricData(
     DetachDocument detachDocument,
     DetachDocument_Request request,
     out DetachDocument_Result result)
 {
     return(this.CreateParametricData(detachDocument, (DetachDocument_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus ProcessComputation(
     DetachDocument detachDocument,
     DetachDocument_Request request,
     out DetachDocument_Result result)
 {
     return(this.ProcessComputation(detachDocument, (DetachDocument_Parameters)null, request, out result));
 }
Пример #4
0
 public ResultStatus LoadESigDetails(
     DetachDocument detachDocument,
     DetachDocument_Request request,
     out DetachDocument_Result result)
 {
     return(this.LoadESigDetails(detachDocument, (DetachDocument_LoadESigDetails_Parameters)null, request, out result));
 }
Пример #5
0
 public ResultStatus GetEnvironment(
     DetachDocument cdo,
     DetachDocument_Request request,
     out DetachDocument_Result result)
 {
     result = (DetachDocument_Result)null;
     try
     {
         return(((IDetachDocumentService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #6
0
 public ResultStatus CommitTransaction(
     DetachDocument_Request request,
     out DetachDocument_Result result)
 {
     result = (DetachDocument_Result)null;
     try
     {
         DetachDocumentMethod[] methods = new DetachDocumentMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IDetachDocumentService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #7
0
        public ResultStatus ExecuteTransaction(
            DetachDocument cdo,
            DetachDocument_Request request,
            out DetachDocument_Result result)
        {
            result = (DetachDocument_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IDetachDocumentService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new DetachDocumentMethod(cdo, DetachDocumentMethods.ExecuteTransaction, (DetachDocument_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);
        }
Пример #8
0
        public ResultStatus GetActions(
            DetachDocument detachDocument,
            DetachDocument_Parameters parameters,
            DetachDocument_Request request,
            out DetachDocument_Result result)
        {
            result = (DetachDocument_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)detachDocument, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IDetachDocumentService)this._Channel).GetActions(this._UserProfile, detachDocument, parameters, request, out result) : this.AddMethod((Method) new DetachDocumentMethod(detachDocument, DetachDocumentMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)detachDocument, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #9
0
 public ResultStatus ExecuteTransaction(
     DetachDocument_Request request,
     out DetachDocument_Result result)
 {
     return(this.ExecuteTransaction((DetachDocument)null, request, out result));
 }
Пример #10
0
 public ResultStatus GetEnvironment(
     DetachDocument_Request request,
     out DetachDocument_Result result)
 {
     return(this.GetEnvironment((DetachDocument)null, request, out result));
 }