示例#1
0
        public PagePart Execute(PagePart thisPagePart)
        {
            foreach (FilterBase thisFilter in Filters)
            {
                thisPagePart = thisFilter.Execute(thisPagePart);
            }

            return thisPagePart;
        }
示例#2
0
文件: Page.cs 项目: harmstyler/Ellis
 public PagePart CreatePart(string name, int ordinal, string content)
 {
     PagePart thisPart = new PagePart();
     thisPart.Name = name;
     thisPart.Ordinal = ordinal;
     thisPart.Content = content;
     thisPart.Page = this;
     return thisPart;
 }