- Timestamp:
- 03/26/09 12:37:41 (16 years ago)
- Location:
- branches/New Persistence Exploration/Persistence
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/New Persistence Exploration/Persistence/HeuristicLab.Persistence.GUI/PersistenceConfigurationForm.cs
r1425 r1427 249 249 250 250 private void decomposerList_DragEnter(object sender, DragEventArgs e) { 251 if ( e.Data.GetDataPresent(typeof(ListView.SelectedListViewItemCollection). VersionInvariantName())) {251 if ( e.Data.GetDataPresent(typeof(ListView.SelectedListViewItemCollection).FullName)) { 252 252 e.Effect = DragDropEffects.Move; 253 253 } -
branches/New Persistence Exploration/Persistence/Persistence/Core/Configuration.cs
r1418 r1427 48 48 49 49 public IDecomposer GetDecomposer(Type type) { 50 IDecomposer decomposer; 51 decomposerCache.TryGetValue(type, out decomposer); 52 if (decomposer != null) 53 return decomposer; 50 if (decomposerCache.ContainsKey(type)) 51 return decomposerCache[type]; 54 52 foreach (IDecomposer d in decomposers) { 55 53 if (d.CanDecompose(type)) { … … 58 56 } 59 57 } 58 decomposerCache.Add(type, null); 60 59 return null; 61 60 }
Note: See TracChangeset
for help on using the changeset viewer.