コード例 #1
0
 public ChgContainerAttributeMethod(
     ChgContainerAttribute Cdo,
     ChgContainerAttributeMethods Method,
     ChgContainerAttribute_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
コード例 #2
0
        public ResultStatus GetActions(
            ChgContainerAttribute chgContainerAttribute,
            ChgContainerAttribute_Parameters parameters,
            ChgContainerAttribute_Request request,
            out ChgContainerAttribute_Result result)
        {
            result = (ChgContainerAttribute_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)chgContainerAttribute, (Parameters)parameters, (Request)request);
            ResultStatus res;

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