Ejemplo n.º 1
0
 protected override void LoadMoreData(XmlElement element) {
     foreach (XmlElement child in element.ChildNodes) {
         switch (child.Name) {
             case "exclude":
                 Exclude except = new Exclude(this, child);
                 Exclusions.Add(except);
                 break;
             default:
                 throw new NotSupportedException(child.Name);
         }
     }
 }
Ejemplo n.º 2
0
 public Exclude addExclusion(string filePath, string fileName) {
     Exclude except = new Exclude(this, fileName, filePath);
     Exclusions.Add(except);
     this.XML.AppendChild(except.XML);
     return except;
 }