示例#1
0
 /// <summary>
 ///   Determines whether the specified <see cref="AttributeTable" /> is equal to the current <see cref="AttributeTable" />.
 /// </summary>
 /// <returns>
 ///   true if the specified <see cref="AttributeTable" /> is equal to the current <see cref="AttributeTable" />; otherwise, false.
 /// </returns>
 /// <param name="other">
 ///   The <see cref="AttributeTable" /> to compare with the current <see cref="AttributeTable" />.
 /// </param>
 protected bool Equals(AttributeTable other)
 {
     return(CollectionUtils.DictionaryEqual(this.attributes, other.attributes));
 }
示例#2
0
 /// <summary>
 ///   Constructs a new, empty attribute table without any parents.
 /// </summary>
 public HierarchicalAttributeTable()
 {
     this.attributeTable = new AttributeTable();
     this.parents        = new List <IAttributeTable>();
 }