public ESigCosignReasonMaintMethod( ESigCosignReasonMaint Cdo, ESigCosignReasonMaintMethods Method, ESigCosignReasonMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus Freeze( ESigCosignReasonMaint eSigCosignReasonMaint, ESigCosignReasonMaint_Parameters parameters, ESigCosignReasonMaint_Request request, out ESigCosignReasonMaint_Result result) { result = (ESigCosignReasonMaint_Result)null; this.OnBeforeCall(nameof(Freeze), (DCObject)eSigCosignReasonMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IESigCosignReasonMaintService)this._Channel).Freeze(this._UserProfile, eSigCosignReasonMaint, parameters, request, out result) : this.AddMethod((Method) new ESigCosignReasonMaintMethod(eSigCosignReasonMaint, ESigCosignReasonMaintMethods.Freeze, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Freeze), res, (DCObject)eSigCosignReasonMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }