Пример #1
0
 /// <summary>Initializes a new instance of <see cref="ProjectFileNodeCollection{T}"/>.</summary>
 /// <param name="parent">
 /// The parent <see cref="ProjectFileNode"/>.
 /// </param>
 public ProjectFileNodeCollection(ProjectFileNode parent)
 {
     Parent = Guard.NotNull(parent, "parent");
 }
Пример #2
0
 /// <summary>Adds a child to the node.</summary>
 /// <param name="child">The child to add.</param>
 public void Add(ProjectFileNode child)
 {
     Guard.NotNull(child, "child");
     Element.Add(child.Element);
 }