private TextSearchView CreateTextSearchView() { ITextSearchModel model = new TextSearchModel(); ITextSearchView view = new TextSearchView(); ITextSearchPresenter presenter = SimpleResolver.Instance.Get <ITextSearchPresenter>( new object[] { model, view } ); view.ShowView(); return(view as TextSearchView); }
private TextSearchView CreateTextSearchView() { ITextSearchModel model = new TextSearchModel(); ITextSearchView view = new TextSearchView(); ITextSearchPresenter presenter = SimpleResolver.Instance.Get<ITextSearchPresenter>( new object[] { model, view } ); view.ShowView(); return view as TextSearchView; }