public override void LoadChildren()
        {
            var list = new List<ISPNode>();
            foreach (DictionaryEntry entry in PropertyBag)
            {
                var node = new SPPropertyNode();
                node.Initialize(new NullPropertyDescriptor(Text), this, entry, list.Count);
                node.Setup(this);
                list.Add(node);
            }

            Children.AddRange(list.OrderBy(p => p.Text));
        }
示例#2
0
        public override void LoadChildren()
        {
            var list = new List <ISPNode>();

            foreach (DictionaryEntry entry in AllProperties)
            {
                var node = new SPPropertyNode();
                node.Initialize(new NullPropertyDescriptor(Text), this, entry, list.Count);
                node.Setup(this);
                list.Add(node);
            }

            Children.AddRange(list.OrderBy(p => p.Text));
        }
        public override void LoadChildren()
        {
            var list = new List <ISPNode>();

            foreach (DictionaryEntry entry in PropertyBag)
            {
                var node = new SPPropertyNode();
                node.SPObject = entry;
                node.Setup(SPObject);
                list.Add(node);
            }

            Children.AddRange(list.OrderBy(p => p.Text));
        }
示例#4
0
        public override void LoadChildren()
        {
            var list = new List<ISPNode>();

            foreach (DictionaryEntry entry in AllProperties)
            {
                var node = new SPPropertyNode();
                node.SPObject = entry;
                node.Setup(SPObject);
                list.Add(node);
            }

            Children.AddRange(list.OrderBy(p => p.Text));
        }