Exemple #1
0
 internal void SetComparer(DomNameComparer comparer)
 {
     _items = _items.SetComparer(
         comparer, attr => {
         attr.Unlink();
         NotifyAttributeChanged(attr, attr.Value);
     }
         );
 }
Exemple #2
0
 public DomAttributeCollectionApi(DomElement owner)
 {
     _owner = owner;
     _items = new DomAttributeCollectionImpl(new List <DomAttribute>(), owner.NameContext.Comparer);
 }