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()); }
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; }
public void Create(ConLameController controller, Diags modelBind) { var view = new ConLameView(controller, modelBind); }