public override string ToString() { return((IsOK ? "OK" : ("Failure: " + FailureReason.ToString())) + " {" + (Result?.ToString() ?? "NULL") + "}"); }
public void HandleJobFailed(Job job, TimeSpan duration, FailureReason reason) { _pdfCreatorUsageStatisticsManager.SendUsageStatistics(duration, job, reason.ToString()); }