Пример #1
0
 public ResultStatus DeleteImportContent(
     ExportImportController exportImportController,
     ExportImportController_Request request,
     out ExportImportController_Result result)
 {
     return(this.DeleteImportContent(exportImportController, (ExportImportController_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus StopProcess(
     ExportImportController exportImportController,
     ExportImportController_Request request,
     out ExportImportController_Result result)
 {
     return(this.StopProcess(exportImportController, (ExportImportController_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus GetWIPMsgs(
     ExportImportController exportImportController,
     ExportImportController_Request request,
     out ExportImportController_Result result)
 {
     return(this.GetWIPMsgs(exportImportController, (ExportImportController_Parameters)null, request, out result));
 }
Пример #4
0
 public ResultStatus GenerateExportFile(
     ExportImportController exportImportController,
     ExportImportController_Request request,
     out ExportImportController_Result result)
 {
     return(this.GenerateExportFile(exportImportController, (ExportImportController_Parameters)null, request, out result));
 }
Пример #5
0
 public ResultStatus GetEnvironment(
     ExportImportController cdo,
     ExportImportController_Request request,
     out ExportImportController_Result result)
 {
     result = (ExportImportController_Result)null;
     try
     {
         return(((IExportImportControllerService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #6
0
 public ResultStatus CommitTransaction(
     ExportImportController_Request request,
     out ExportImportController_Result result)
 {
     result = (ExportImportController_Result)null;
     try
     {
         ExportImportControllerMethod[] methods = new ExportImportControllerMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IExportImportControllerService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #7
0
        public ResultStatus ExecuteTransaction(
            ExportImportController cdo,
            ExportImportController_Request request,
            out ExportImportController_Result result)
        {
            result = (ExportImportController_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IExportImportControllerService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ExportImportControllerMethod(cdo, ExportImportControllerMethods.ExecuteTransaction, (ExportImportController_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 DeleteImportContent(
            ExportImportController exportImportController,
            ExportImportController_Parameters parameters,
            ExportImportController_Request request,
            out ExportImportController_Result result)
        {
            result = (ExportImportController_Result)null;
            this.OnBeforeCall(nameof(DeleteImportContent), (DCObject)exportImportController, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IExportImportControllerService)this._Channel).DeleteImportContent(this._UserProfile, exportImportController, parameters, request, out result) : this.AddMethod((Method) new ExportImportControllerMethod(exportImportController, ExportImportControllerMethods.DeleteImportContent, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(DeleteImportContent), res, (DCObject)exportImportController, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #9
0
 public ResultStatus ExecuteTransaction(
     ExportImportController_Request request,
     out ExportImportController_Result result)
 {
     return(this.ExecuteTransaction((ExportImportController)null, request, out result));
 }
Пример #10
0
 public ResultStatus GetEnvironment(
     ExportImportController_Request request,
     out ExportImportController_Result result)
 {
     return(this.GetEnvironment((ExportImportController)null, request, out result));
 }