public ContentTab(PageModel model) { if (model.Skin.IsPhof) { ContentKey = ContentKeys.Inequalities; } }
public void TestPageTypeIsUndefinedByDefault() { var model = new PageModel(new AppConfig(new NameValueCollection())); Assert.AreEqual(PageType.Undefined,model.PageType); }
protected virtual void NewPageModel() { PageModel = new PageModel(appConfig); }