示例#1
0
 public AssignChangePkgContentMethod(
     AssignChangePkgContent Cdo,
     AssignChangePkgContentMethods Method,
     AssignChangePkgContent_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
示例#2
0
        public ResultStatus GetActions(
            AssignChangePkgContent assignChangePkgContent,
            AssignChangePkgContent_Parameters parameters,
            AssignChangePkgContent_Request request,
            out AssignChangePkgContent_Result result)
        {
            result = (AssignChangePkgContent_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)assignChangePkgContent, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IAssignChangePkgContentService)this._Channel).GetActions(this._UserProfile, assignChangePkgContent, parameters, request, out result) : this.AddMethod((Method) new AssignChangePkgContentMethod(assignChangePkgContent, AssignChangePkgContentMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)assignChangePkgContent, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }