public ESigRequirementMaintMethod( ESigRequirementMaint Cdo, ESigRequirementMaintMethods Method, ESigRequirementMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus Freeze( ESigRequirementMaint eSigRequirementMaint, ESigRequirementMaint_Parameters parameters, ESigRequirementMaint_Request request, out ESigRequirementMaint_Result result) { result = (ESigRequirementMaint_Result)null; this.OnBeforeCall(nameof(Freeze), (DCObject)eSigRequirementMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IESigRequirementMaintService)this._Channel).Freeze(this._UserProfile, eSigRequirementMaint, parameters, request, out result) : this.AddMethod((Method) new ESigRequirementMaintMethod(eSigRequirementMaint, ESigRequirementMaintMethods.Freeze, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Freeze), res, (DCObject)eSigRequirementMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }