Changeset 4068 for trunk/sources/HeuristicLab.Core/3.3/Collections
- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Core/3.3/Collections
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/Collections/CheckedItemCollection.cs
r3822 r4068 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Drawing;25 24 using System.Linq; 26 25 using HeuristicLab.Collections; 27 26 using HeuristicLab.Common; 28 using HeuristicLab.Common.Resources;29 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 28 -
trunk/sources/HeuristicLab.Core/3.3/Collections/CheckedItemList.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic; 23 24 using System.Linq; 24 using System.Collections; 25 using System.Collections.Generic; 26 using System.Collections.ObjectModel; 27 using System.Text; 28 using System.Drawing; 25 using HeuristicLab.Collections; 26 using HeuristicLab.Common; 29 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 using HeuristicLab.Common;31 using HeuristicLab.Common.Resources;32 using HeuristicLab.Collections;33 28 34 29 namespace HeuristicLab.Core { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ConstraintCollection.cs
r3602 r4068 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 using System.Linq;25 using System.Text;26 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 24 -
trunk/sources/HeuristicLab.Core/3.3/Collections/ItemArray.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic; 24 using System.Drawing; 23 25 using System.Linq; 24 using System.Collections; 25 using System.Collections.Generic; 26 using System.Collections.ObjectModel; 27 using System.Text; 28 using System.Drawing; 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HeuristicLab.Collections; 30 27 using HeuristicLab.Common; 31 28 using HeuristicLab.Common.Resources; 32 using HeuristicLab. Collections;29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 30 34 31 namespace HeuristicLab.Core { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ItemDictionary.cs
r3822 r4068 23 23 using System.Collections.Generic; 24 24 using System.Drawing; 25 using System.Linq;26 25 using HeuristicLab.Collections; 27 26 using HeuristicLab.Common; … … 32 31 [StorableClass] 33 32 [Item("ItemDictionary", "Represents a dictionary of items.")] 34 public class ItemDictionary<TKey, TValue> : ObservableDictionary<TKey, TValue>, IItemDictionary<TKey, TValue> where TKey : class, IItem where TValue : class, IItem { 33 public class ItemDictionary<TKey, TValue> : ObservableDictionary<TKey, TValue>, IItemDictionary<TKey, TValue> 34 where TKey : class, IItem 35 where TValue : class, IItem { 35 36 private string filename; 36 37 public string Filename { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ItemList.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic; 24 using System.Drawing; 23 25 using System.Linq; 24 using System.Collections; 25 using System.Collections.Generic; 26 using System.Collections.ObjectModel; 27 using System.Text; 28 using System.Drawing; 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HeuristicLab.Collections; 30 27 using HeuristicLab.Common; 31 28 using HeuristicLab.Common.Resources; 32 using HeuristicLab. Collections;29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 30 34 31 namespace HeuristicLab.Core { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ItemSet.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic; 24 using System.Drawing; 23 25 using System.Linq; 24 using System.Collections; 25 using System.Collections.Generic; 26 using System.Collections.ObjectModel; 27 using System.Text; 28 using System.Drawing; 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HeuristicLab.Collections; 30 27 using HeuristicLab.Common; 31 28 using HeuristicLab.Common.Resources; 32 using HeuristicLab. Collections;29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 30 34 31 namespace HeuristicLab.Core { -
trunk/sources/HeuristicLab.Core/3.3/Collections/KeyedItemCollection.cs
r3822 r4068 23 23 using System.Collections.Generic; 24 24 using System.Drawing; 25 using System.Linq;26 25 using HeuristicLab.Collections; 27 26 using HeuristicLab.Common; -
trunk/sources/HeuristicLab.Core/3.3/Collections/NamedItemCollection.cs
r3822 r4068 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Drawing;25 using System.Linq;26 using HeuristicLab.Collections;27 24 using HeuristicLab.Common; 28 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 34 31 public NamedItemCollection() : base() { } 35 32 public NamedItemCollection(int capacity) : base(capacity) { } 36 public NamedItemCollection(IEnumerable<T> collection) : base(collection) { 33 public NamedItemCollection(IEnumerable<T> collection) 34 : base(collection) { 37 35 Initialize(); 38 36 } -
trunk/sources/HeuristicLab.Core/3.3/Collections/OperatorCollection.cs
r3390 r4068 20 20 #endregion 21 21 22 using System;23 using System.Collections;24 22 using System.Collections.Generic; 25 using System.Collections.ObjectModel;26 using System.Text;27 using System.Drawing;28 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 24 -
trunk/sources/HeuristicLab.Core/3.3/Collections/OperatorList.cs
r3390 r4068 20 20 #endregion 21 21 22 using System;23 using System.Collections;24 22 using System.Collections.Generic; 25 using System.Collections.ObjectModel;26 using System.Text;27 using System.Drawing;28 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 24 -
trunk/sources/HeuristicLab.Core/3.3/Collections/OperatorSet.cs
r3390 r4068 20 20 #endregion 21 21 22 using System;23 using System.Collections;24 22 using System.Collections.Generic; 25 using System.Collections.ObjectModel;26 using System.Text;27 using System.Drawing;28 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 24 -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyCheckedItemCollection.cs
r3822 r4068 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Drawing;25 using System.Linq;26 24 using HeuristicLab.Collections; 27 using HeuristicLab.Common;28 using HeuristicLab.Common.Resources;29 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 26 … … 36 32 get { return (CheckedItemCollection<T>)base.collection; } 37 33 } 38 34 39 35 public ReadOnlyCheckedItemCollection() : base(new CheckedItemCollection<T>()) { } 40 36 public ReadOnlyCheckedItemCollection(ICheckedItemCollection<T> collection) … … 53 49 handler(this, e); 54 50 } 55 51 56 52 public IEnumerable<T> CheckedItems { 57 53 get { return CheckedItemCollection.CheckedItems; } -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyCheckedItemList.cs
r3822 r4068 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Drawing;25 using System.Linq;26 24 using HeuristicLab.Collections; 27 using HeuristicLab.Common;28 using HeuristicLab.Common.Resources;29 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 26 … … 36 32 get { return (CheckedItemList<T>)base.list; } 37 33 } 38 34 39 35 public ReadOnlyCheckedItemList() : base(new CheckedItemList<T>()) { } 40 public ReadOnlyCheckedItemList(ICheckedItemList<T> list) : base(list) { 36 public ReadOnlyCheckedItemList(ICheckedItemList<T> list) 37 : base(list) { 41 38 list.CheckedItemsChanged += new CollectionItemsChangedEventHandler<IndexedItem<T>>(list_CheckedItemsChanged); 42 39 } … … 52 49 handler(this, e); 53 50 } 54 51 55 52 public IEnumerable<IndexedItem<T>> CheckedItems { 56 53 get { return CheckedItemList.CheckedItems; } -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemArray.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Drawing; 25 using System.Linq;26 24 using HeuristicLab.Collections; 27 25 using HeuristicLab.Common; -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemCollection.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Drawing; 25 using System.Linq;26 24 using HeuristicLab.Collections; 27 25 using HeuristicLab.Common; -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemDictionary.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Drawing; 25 using System.Linq;26 24 using HeuristicLab.Collections; 27 25 using HeuristicLab.Common; … … 32 30 [StorableClass] 33 31 [Item("ReadOnlyItemDictionary", "Represents a read-only dictionary of items.")] 34 public class ReadOnlyItemDictionary<TKey, TValue> : ReadOnlyObservableDictionary<TKey, TValue>, IItemDictionary<TKey, TValue> where TKey : class, IItem where TValue : class, IItem { 32 public class ReadOnlyItemDictionary<TKey, TValue> : ReadOnlyObservableDictionary<TKey, TValue>, IItemDictionary<TKey, TValue> 33 where TKey : class, IItem 34 where TValue : class, IItem { 35 35 private string filename; 36 36 public string Filename { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemList.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Drawing; 25 using System.Linq;26 24 using HeuristicLab.Collections; 27 25 using HeuristicLab.Common; -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemSet.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Drawing; 25 using System.Linq;26 24 using HeuristicLab.Collections; 27 25 using HeuristicLab.Common; -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyKeyedItemCollection.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Drawing; 25 using System.Linq;26 24 using HeuristicLab.Collections; 27 25 using HeuristicLab.Common; -
trunk/sources/HeuristicLab.Core/3.3/Collections/VariableCollection.cs
r3431 r4068 21 21 22 22 using System.Collections.Generic; 23 using System.Linq;24 23 using HeuristicLab.Common; 25 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
Note: See TracChangeset
for help on using the changeset viewer.