using System; using System.Collections.Generic; using System.Diagnostics; using System.Dynamic; using System.Linq; using Implab.Components; using Implab.Diagnostics; using Implab.ServiceHost.Unity; using Implab.Xml; using Unity; using Unity.Injection; using Unity.Registration; namespace Implab.Playground { using System.Reactive.Linq; using static Trace; class Foo { } class Bar : Foo { } public class Program { static void Main(string[] args) { Trace.Log("First!"); Log("+1!"); using(TraceRegistry.Global.OfType().Subscribe(ch => { Console.WriteLine($"{ch.Id}: {ch.Source.Name}"); })) { Trace.Log("Hi!"); Log("Respect!"); } } } }