Пример #1
0
        public override void InitHelpers()
        {
            base.InitHelpers();

            CurrentItem = ViewContext.RouteData.CurrentItem() as TItem;
            ContentHtml = ViewContext.CreateContentItemHelper <TItem>();
        }
Пример #2
0
        public override void InitHelpers()
        {
            base.InitHelpers();

            Content     = ViewContext.CurrentItem <TItem>();
            ContentHtml = ViewContext.CreateContentItemHelper <TItem>();
        }