Exemple #1
0
        static void Main(string[] args)
        {
            var bll = new MyDriver();

            bll.NotifyEvent +=(e) =>{
                Trace.WriteLine(e.Message);
            };

            bll.Run();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            var bll = new MyDriver();

            bll.NotifyEvent += (e) => {
                Trace.WriteLine(e.Message);
            };

            bll.Run();
        }
Exemple #3
0
        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();
            }
        }