protected override void Dispose(bool disposing)
 {
     DiagnosticService.RemoveSink(_diagnosticSink);
     base.Dispose(disposing);
 }