Наследование: CustomItem
Пример #1
0
 public override void Initialize(Rendering rendering)
 {
     base.Initialize(rendering);
     var currentBlog = ManagerFactory.BlogManagerInstance.GetCurrentBlog();
     BlogItem = currentBlog;
     Hyperlink = currentBlog.SafeGet(x => x.Url);
     Theme = currentBlog.Theme.Item;
 }
Пример #2
0
        public override void Initialize(Rendering rendering)
        {
            base.Initialize(rendering);

            ThemeItem = CurrentBlog.Theme.Item;
        }