Esempio n. 1
0
        static int Main(string[] args)
        {
            var consoleWriter = new ConsoleTraceListener(false);

            Trace.Listeners.Add(consoleWriter);
            Trace.AutoFlush = true;

            var controller = new ConLameController(args, new ConLameViewFactory());

            return(controller.Run());
        }
Esempio n. 2
0
 public ConLameView(ConLameController controller, Diags modelBind)
 {
     this.controller               = controller;
     this.modelBind                = modelBind;
     this.modelBind.InputChar      = InputChar;
     this.modelBind.MessageSend   += Logger;
     this.modelBind.ReportClose   += Summarize;
     this.modelBind.FileVisit     += FileProgress;
     this.modelBind.Product        = ConLameController.ProductText;
     this.modelBind.ProductVersion = ConLameController.VersionText;
 }
Esempio n. 3
0
 public void Create(ConLameController controller, Diags modelBind)
 {
     var view = new ConLameView(controller, modelBind);
 }