public ResultStatus GetActions( UnitStart unitStart, UnitStart_Parameters parameters, UnitStart_Request request, out UnitStart_Result result) { result = (UnitStart_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)unitStart, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IUnitStartService)this._Channel).GetActions(this._UserProfile, unitStart, parameters, request, out result) : this.AddMethod((Method) new UnitStartMethod(unitStart, UnitStartMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)unitStart, (Parameters)parameters, (Request)request, (Result)result); } return(res); }
public UnitStartMethod(UnitStart Cdo, UnitStartMethods Method, UnitStart_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }