public AIMLCategory AddNewCategory(XmlNode newCategoryNode) { AIMLCategory newCategory = AIMLCategory.createNewCategory(this, newCategoryNode); this.Categories.Add(newCategory); return(newCategory); }
public AIMLCategory AddNewCategory() { AIMLCategory newCategory = AIMLCategory.createNewCategory(this); this.Categories.Add(newCategory); return(newCategory); }