Пример #1
0
        public void ListenerToString()
        {
            string name = Guid.NewGuid().ToString();

            using (var listener = new DiagnosticListener(name))
            {
                Assert.Equal(name, listener.ToString());
            }
        }