void OnHasErrors(string message) { Error = message; HasErrors?.Invoke(this, message); }
public PlanExecutionEvents OnHasErrors(bool hasErrors, string statusText = "") { HasErrors?.Invoke(this, new PlanHasErrorsUpdatedEventArgs(backupPlan, hasErrors, statusText)); return(this); }