public virtual TView ChangeView <TView>(TViewState state) { var args = new ViewChangedEventArgs <TViewState>(state); if (ViewChanged != null) { ViewChanged(this, args); } return(this.GetView <TView>()); }