private string OnDiagnosticReceived(DiagnosticRenderingRequest request) { var e = new DiagnosticRenderingEvent(); e.Content = request.Content; this.DiagnosticOccurred?.Invoke(e); return(request.Content.Clone() as string); }
void OnDiagnosticOccurred(DiagnosticRenderingEvent e) { Debug.Log($"Diagnostic Event received - Content: {e.Content}"); }
private static void OnDiagnosticOccurred(DiagnosticRenderingEvent e) { Console.WriteLine($"Diagnostic occurred - Content: {e.Content}"); }