private DumpUserContentView CreateDumpUserContentView() { IDumpUserContentModel model = new DumpUserContentModel(); IDumpUserContentView view = new DumpUserContentView(); IDumpUserContentPresenter presenter = SimpleResolver.Instance.Get <IDumpUserContentPresenter>( new object[] { model, view } ); view.ShowView(); return(view as DumpUserContentView); }
private DumpUserContentView CreateDumpUserContentView() { IDumpUserContentModel model = new DumpUserContentModel(); IDumpUserContentView view = new DumpUserContentView(); IDumpUserContentPresenter presenter = SimpleResolver.Instance.Get<IDumpUserContentPresenter>( new object[] { model, view } ); view.ShowView(); return view as DumpUserContentView; }