Esempio n. 1
0
 void ChildAdded(object sender, RehashableDictionary <YamlNode, YamlNode> .DictionaryEventArgs e)
 {
     e.Key.Changed   += KeyChanged;
     e.Value.Changed += ChildChanged;
     OnChanged();
     CheckDuplicatedKeys();
 }
Esempio n. 2
0
 public ValueCollection(RehashableDictionary <K, V> dictionary)
     : base(dictionary)
 {
 }
Esempio n. 3
0
 void DictionaryChanged(object sender, RehashableDictionary <K, V> .DictionaryEventArgs e)
 {
     Invalid = true;
 }
Esempio n. 4
0
 public KeysValuesBase(RehashableDictionary <K, V> dictionary)
 {
     Dictionary          = dictionary;
     Dictionary.Added   += DictionaryChanged;
     Dictionary.Removed += DictionaryChanged;
 }
Esempio n. 5
0
 public ItemsCollection(RehashableDictionary <K, V> dictionary)
     : base(dictionary)
 {
     this.list = new List <KeyValue>();
 }
Esempio n. 6
0
 public ItemsCollection(RehashableDictionary <K, V> dictionary, List <KeyValue> list)
     : base(dictionary)
 {
     this.list = list;
 }