コード例 #1
0
 public ContentTab(PageModel model)
 {
     if (model.Skin.IsPhof)
     {
         ContentKey = ContentKeys.Inequalities;
     }
 }
コード例 #2
0
 public void TestPageTypeIsUndefinedByDefault()
 {
     var model = new PageModel(new AppConfig(new NameValueCollection()));
     Assert.AreEqual(PageType.Undefined,model.PageType);
 }
コード例 #3
0
 protected virtual void NewPageModel()
 {
     PageModel = new PageModel(appConfig);
 }