Ejemplo n.º 1
0
        public void BuildTree()
        {
            this.DscResource = null;
            this.DscResource = new ObservableCollection<DscResourceNode>();

            string descriptionOfClass = GetClassDescriptionFromFile(this.Name);
            DscResourceNode node = new DscResourceNode(descriptionOfClass);

            node.Name = this.Name;
            foreach (var propertyNode in propertySet)
            {
                node.Children.Add(propertyNode);
            }

            this.DscResource.Add(node);
        }
Ejemplo n.º 2
0
        public void BuildTree()
        {
            this.DscResource = null;
            this.DscResource = new ObservableCollection <DscResourceNode>();

            string          descriptionOfClass = GetClassDescriptionFromFile(this.Name);
            DscResourceNode node = new DscResourceNode(descriptionOfClass);

            node.Name = this.Name;
            foreach (var propertyNode in propertySet)
            {
                node.Children.Add(propertyNode);
            }

            this.DscResource.Add(node);
        }