public UpdateChangePkgMethod( UpdateChangePkg Cdo, UpdateChangePkgMethods Method, UpdateChangePkg_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus SendEmailToCollaborators( UpdateChangePkg updateChangePkg, UpdateChangePkg_Parameters parameters, UpdateChangePkg_Request request, out UpdateChangePkg_Result result) { result = (UpdateChangePkg_Result)null; this.OnBeforeCall(nameof(SendEmailToCollaborators), (DCObject)updateChangePkg, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IUpdateChangePkgService)this._Channel).SendEmailToCollaborators(this._UserProfile, updateChangePkg, parameters, request, out result) : this.AddMethod((Method) new UpdateChangePkgMethod(updateChangePkg, UpdateChangePkgMethods.SendEmailToCollaborators, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(SendEmailToCollaborators), res, (DCObject)updateChangePkg, (Parameters)parameters, (Request)request, (Result)result); } return(res); }