public ContainerStatusChangeMethod( ContainerStatusChange Cdo, ContainerStatusChangeMethods Method, ContainerStatusChange_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus GetActions( ContainerStatusChange containerStatusChange, ContainerStatusChange_Parameters parameters, ContainerStatusChange_Request request, out ContainerStatusChange_Result result) { result = (ContainerStatusChange_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)containerStatusChange, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IContainerStatusChangeService)this._Channel).GetActions(this._UserProfile, containerStatusChange, parameters, request, out result) : this.AddMethod((Method) new ContainerStatusChangeMethod(containerStatusChange, ContainerStatusChangeMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)containerStatusChange, (Parameters)parameters, (Request)request, (Result)result); } return(res); }