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); }
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); }