Example #1
0
File: Program.cs Project: xsolon/if
        static void Main(string[] args)
        {
            var bll = new MyDriver();

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

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

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

            bll.Run();
        }
Example #3
0
File: Program.cs Project: xsolon/if
        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();
            }
        }