// Adding this override in order to inject a view factory // into a MainWindow constructor overload. protected override void OnStartup(StartupEventArgs supArgs) { base.OnStartup(supArgs); MainWindow = new WcController(supArgs.Args, new WcViewFactory()); MainWindow.Show(); }
public WcView(WcController controller, WcModelBind modelBind) { this.controller = controller; this.modelBind = modelBind; }
public void Create(WcController controller, WcModelBind modelBind) { var _ = new WcView(controller, modelBind); }