public ResultStatus GetActions( Serialize serialize, Serialize_Parameters parameters, Serialize_Request request, out Serialize_Result result) { result = (Serialize_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)serialize, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((ISerializeService)this._Channel).GetActions(this._UserProfile, serialize, parameters, request, out result) : this.AddMethod((Method) new SerializeMethod(serialize, SerializeMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)serialize, (Parameters)parameters, (Request)request, (Result)result); } return(res); }
public SerializeMethod(Serialize Cdo, SerializeMethods Method, Serialize_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }