protected virtual void OnCompleted(ResultCompletionEventArgs e) { _storage.SaveCompleted -= StorageOnSaveCompleted; _storage = null; _report = null; var handler = Completed; if (handler != null) { handler(this, e); } Completed = null; }
public ErrorReportSaveResult(IErrorReportStorage storage, ErrorReport report) { _storage = storage; _report = report; }