public void RegisterViewCatalogWithNull() { // Setup var viewHandler = new ViewHandler(); // Execute viewHandler.RegisterViewCatalog(a_viewCatalog: null); }
public void RegisterViewCatalog() { // Setup var viewHandler = new ViewHandler(); // Execute viewHandler.RegisterViewCatalog(new TestTypeCatalog()); }
private ViewHandler InitializeViewHandler() { _typeCatalog = new TestTypeCatalog(); _modelBinder = new TestModelBinder(); _viewTarget = new TestViewTarget(); var viewHandler = new ViewHandler(); viewHandler.RegisterViewCatalog(_typeCatalog); viewHandler.RegisterModelBinder(_modelBinder); viewHandler.RegisterViewTarget(_viewTarget); return(viewHandler); }
private ViewHandler InitializeViewHandler() { _typeCatalog = new TestTypeCatalog(); _modelBinder = new TestModelBinder(); _viewTarget = new TestViewTarget(); var viewHandler = new ViewHandler(); viewHandler.RegisterViewCatalog(_typeCatalog); viewHandler.RegisterModelBinder(_modelBinder); viewHandler.RegisterViewTarget(_viewTarget); return viewHandler; }