예제 #1
0
        public IHtmlString Each(string name, object items)
        {
            ForeachView view = new ForeachView();

            view.View     = name;
            view.Items    = items;
            view.Template = this;
            view.Execute(Context);
            return(view);
        }
예제 #2
0
 public IHtmlString Each(string name, object items)
 {
     ForeachView view = new ForeachView();
     view.View = name;
     view.Items = items;
     view.Template = this;
     view.Execute(Context);
     return view;
 }