static void Main(string[] args) { var bll = new MyDriver(); bll.NotifyEvent +=(e) =>{ Trace.WriteLine(e.Message); }; bll.Run(); }
static void Main(string[] args) { var bll = new MyDriver(); bll.NotifyEvent += (e) => { Trace.WriteLine(e.Message); }; bll.Run(); }
private static void Main(string[] args) { using (var logger = new LoggerClass("MyLogs", new TraceDestination() { AutoCommit = true, WriteConsole = true })) { var bll = new MyDriver(logger); bll.Run(); } }