Changeset 1542 for trunk/sources/HeuristicLab.Persistence/3.3/Default/Decomposers/DictionaryDecomposer.cs
- Timestamp:
- 04/08/09 17:05:17 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/3.3/Default/Decomposers/DictionaryDecomposer.cs
r1539 r1542 23 23 key = v; 24 24 keyIsSet = true; 25 check();25 Check(); 26 26 } 27 27 … … 29 29 value = v; 30 30 valueIsSet = true; 31 check();31 Check(); 32 32 } 33 33 34 private void check() {34 private void Check() { 35 35 if ( keyIsSet && valueIsSet ) 36 36 dict.Add(key, value); … … 50 50 } 51 51 52 public IEnumerable<Tag> De Compose(object o) {52 public IEnumerable<Tag> Decompose(object o) { 53 53 IDictionary dict = (IDictionary)o; 54 54 foreach ( DictionaryEntry entry in dict) {
Note: See TracChangeset
for help on using the changeset viewer.