示例#1
0
 public ResultStatus GetActions(
     AssignPermissions assignPermissions,
     AssignPermissions_Request request,
     out AssignPermissions_Result result)
 {
     return(this.GetActions(assignPermissions, (AssignPermissions_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus CreateParametricData(
     AssignPermissions assignPermissions,
     AssignPermissions_Request request,
     out AssignPermissions_Result result)
 {
     return(this.CreateParametricData(assignPermissions, (AssignPermissions_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus ProcessComputation(
     AssignPermissions assignPermissions,
     AssignPermissions_Request request,
     out AssignPermissions_Result result)
 {
     return(this.ProcessComputation(assignPermissions, (AssignPermissions_Parameters)null, request, out result));
 }
示例#4
0
 public ResultStatus LoadESigDetails(
     AssignPermissions assignPermissions,
     AssignPermissions_Request request,
     out AssignPermissions_Result result)
 {
     return(this.LoadESigDetails(assignPermissions, (AssignPermissions_LoadESigDetails_Parameters)null, request, out result));
 }
示例#5
0
 public ResultStatus GetEnvironment(
     AssignPermissions cdo,
     AssignPermissions_Request request,
     out AssignPermissions_Result result)
 {
     result = (AssignPermissions_Result)null;
     try
     {
         return(((IAssignPermissionsService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#6
0
 public ResultStatus CommitTransaction(
     AssignPermissions_Request request,
     out AssignPermissions_Result result)
 {
     result = (AssignPermissions_Result)null;
     try
     {
         AssignPermissionsMethod[] methods = new AssignPermissionsMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IAssignPermissionsService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#7
0
        public ResultStatus ExecuteTransaction(
            AssignPermissions cdo,
            AssignPermissions_Request request,
            out AssignPermissions_Result result)
        {
            result = (AssignPermissions_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IAssignPermissionsService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new AssignPermissionsMethod(cdo, AssignPermissionsMethods.ExecuteTransaction, (AssignPermissions_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(
            AssignPermissions assignPermissions,
            AssignPermissions_Parameters parameters,
            AssignPermissions_Request request,
            out AssignPermissions_Result result)
        {
            result = (AssignPermissions_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)assignPermissions, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IAssignPermissionsService)this._Channel).GetActions(this._UserProfile, assignPermissions, parameters, request, out result) : this.AddMethod((Method) new AssignPermissionsMethod(assignPermissions, AssignPermissionsMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)assignPermissions, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#9
0
 public ResultStatus ExecuteTransaction(
     AssignPermissions_Request request,
     out AssignPermissions_Result result)
 {
     return(this.ExecuteTransaction((AssignPermissions)null, request, out result));
 }
示例#10
0
 public ResultStatus GetEnvironment(
     AssignPermissions_Request request,
     out AssignPermissions_Result result)
 {
     return(this.GetEnvironment((AssignPermissions)null, request, out result));
 }