public OperationMaintMethod( OperationMaint Cdo, OperationMaintMethods Method, OperationMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus Freeze( OperationMaint operationMaint, OperationMaint_Parameters parameters, OperationMaint_Request request, out OperationMaint_Result result) { result = (OperationMaint_Result)null; this.OnBeforeCall(nameof(Freeze), (DCObject)operationMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IOperationMaintService)this._Channel).Freeze(this._UserProfile, operationMaint, parameters, request, out result) : this.AddMethod((Method) new OperationMaintMethod(operationMaint, OperationMaintMethods.Freeze, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Freeze), res, (DCObject)operationMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }