Пример #1
0
        public MenuItemBuilder ChildItems(Action<MenuItemFactory> addAction)
        {
            Guard.IsNotNull(addAction, "addAction");

            MenuItemFactory factory = new MenuItemFactory(item);

            addAction(factory);

            item.LoadChildItemsAsynchronously = false;

            return this;
        }