Beispiel #1
0
 public ContainerAttrMaintMethod(
     ContainerAttrMaint Cdo,
     ContainerAttrMaintMethods Method,
     ContainerAttrMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Beispiel #2
0
        public ResultStatus GetActions(
            ContainerAttrMaint containerAttrMaint,
            ContainerAttrMaint_Parameters parameters,
            ContainerAttrMaint_Request request,
            out ContainerAttrMaint_Result result)
        {
            result = (ContainerAttrMaint_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)containerAttrMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

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