public CollectDataMethod( CollectData Cdo, CollectDataMethods Method, CollectData_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus GetActions( CollectData collectData, CollectData_Parameters parameters, CollectData_Request request, out CollectData_Result result) { result = (CollectData_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)collectData, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((ICollectDataService)this._Channel).GetActions(this._UserProfile, collectData, parameters, request, out result) : this.AddMethod((Method) new CollectDataMethod(collectData, CollectDataMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)collectData, (Parameters)parameters, (Request)request, (Result)result); } return(res); }