Example #1
0
        public IItemNode LoadFarmNode()
        {
            var spFarmNode = SPProvider.LoadFarmNode();
            var node       = ItemNode.Create(this, spFarmNode);

            node.IsExpanded = true;
            return(node);
        }
Example #2
0
 public IEnumerable <IItemNode> LoadChildren(IItemNode parentNode)
 {
     parentNode.SPNode.LoadChildren();
     return(parentNode.SPNode.Children.Select(spNode => ItemNode.Create(this, spNode)));
 }