Пример #1
0
        private string OnDiagnosticReceived(DiagnosticRenderingRequest request)
        {
            var e = new DiagnosticRenderingEvent();

            e.Content = request.Content;

            this.DiagnosticOccurred?.Invoke(e);

            return(request.Content.Clone() as string);
        }
Пример #2
0
 void OnDiagnosticOccurred(DiagnosticRenderingEvent e)
 {
     Debug.Log($"Diagnostic Event received - Content: {e.Content}");
 }
Пример #3
0
 private static void OnDiagnosticOccurred(DiagnosticRenderingEvent e)
 {
     Console.WriteLine($"Diagnostic occurred - Content: {e.Content}");
 }