コード例 #1
0
 public PageWrapper CreatePage(string name, string body)
 {
     return(new PageWrapper(_engine.CreatePage(new Page {
         PageName = name, Body = body
     })));
 }
コード例 #2
0
 public PageWrapper CreatePage(string name, string body)
 {
     return(new PageWrapper(_engine.CreatePage(new Page {
         PageName = name, Body = Sanitizer.GetSafeHtmlFragment(body)
     })));
 }