示例#1
0
 public ResultStatus GetActions(
     Assignment assignment,
     Assignment_Request request,
     out Assignment_Result result)
 {
     return(this.GetActions(assignment, (Assignment_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus CreateParametricData(
     Assignment assignment,
     Assignment_Request request,
     out Assignment_Result result)
 {
     return(this.CreateParametricData(assignment, (Assignment_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus ProcessComputation(
     Assignment assignment,
     Assignment_Request request,
     out Assignment_Result result)
 {
     return(this.ProcessComputation(assignment, (Assignment_Parameters)null, request, out result));
 }
示例#4
0
 public ResultStatus LoadESigDetails(
     Assignment assignment,
     Assignment_Request request,
     out Assignment_Result result)
 {
     return(this.LoadESigDetails(assignment, (Assignment_Parameters)null, request, out result));
 }
示例#5
0
 public ResultStatus GetEnvironment(
     Assignment cdo,
     Assignment_Request request,
     out Assignment_Result result)
 {
     result = (Assignment_Result)null;
     try
     {
         return(((IAssignmentService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#6
0
 public ResultStatus CommitTransaction(
     Assignment_Request request,
     out Assignment_Result result)
 {
     result = (Assignment_Result)null;
     try
     {
         AssignmentMethod[] methods = new AssignmentMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IAssignmentService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#7
0
        public ResultStatus ExecuteTransaction(
            Assignment cdo,
            Assignment_Request request,
            out Assignment_Result result)
        {
            result = (Assignment_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IAssignmentService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new AssignmentMethod(cdo, AssignmentMethods.ExecuteTransaction, (Assignment_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(
            Assignment assignment,
            Assignment_Parameters parameters,
            Assignment_Request request,
            out Assignment_Result result)
        {
            result = (Assignment_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)assignment, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IAssignmentService)this._Channel).GetActions(this._UserProfile, assignment, parameters, request, out result) : this.AddMethod((Method) new AssignmentMethod(assignment, AssignmentMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)assignment, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#9
0
 public ResultStatus ExecuteTransaction(
     Assignment_Request request,
     out Assignment_Result result)
 {
     return(this.ExecuteTransaction((Assignment)null, request, out result));
 }
示例#10
0
 public ResultStatus GetEnvironment(
     Assignment_Request request,
     out Assignment_Result result)
 {
     return(this.GetEnvironment((Assignment)null, request, out result));
 }