internal void AddAttributeSet(AttributeSetAction attributeSet) {
Debug.Assert(attributeSet.Name != null);
if (this.attributeSetTable == null) {
this.attributeSetTable = new Hashtable();
}
Debug.Assert(this.attributeSetTable != null);
if (this.attributeSetTable.ContainsKey(attributeSet.Name) == false) {
this.attributeSetTable[attributeSet.Name] = attributeSet;
}
else {
// merge the attribute-sets
((AttributeSetAction)this.attributeSetTable[attributeSet.Name]).Merge(attributeSet);
}
}