Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/21/10 02:04:44 (14 years ago)
Author:
swagner
Message:

Abandoned policy that the names of all abstract base classes have to end in "Base" (#95)

Location:
trunk/sources/HeuristicLab.Collections/3.3
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Collections/3.3/HeuristicLab.Collections-3.3.csproj

    r2623 r2664  
    4949  </ItemGroup>
    5050  <ItemGroup>
     51    <Compile Include="ObservableKeyedCollection.cs" />
    5152    <Compile Include="ReadOnlyObservableSet.cs" />
    5253    <Compile Include="IObservableSet.cs" />
     
    6465    <Compile Include="IObservableCollection.cs" />
    6566    <Compile Include="IObservableDictionary.cs" />
    66     <Compile Include="ObservableKeyedCollectionBase.cs" />
    6767    <Compile Include="ObservableCollection.cs" />
    6868    <Compile Include="IndexedItem.cs" />
  • trunk/sources/HeuristicLab.Collections/3.3/ObservableKeyedCollection.cs

    r2662 r2664  
    3131namespace HeuristicLab.Collections {
    3232  [Serializable]
    33   public abstract class ObservableKeyedCollectionBase<TKey, TItem> : IObservableKeyedCollection<TKey, TItem> {
     33  public abstract class ObservableKeyedCollection<TKey, TItem> : IObservableKeyedCollection<TKey, TItem> {
    3434    [Storable]
    3535    private Dictionary<TKey, TItem> dict;
     
    5454
    5555    #region Constructors
    56     protected ObservableKeyedCollectionBase() {
     56    protected ObservableKeyedCollection() {
    5757      dict = new Dictionary<TKey, TItem>();
    5858    }
    59     protected ObservableKeyedCollectionBase(int capacity) {
     59    protected ObservableKeyedCollection(int capacity) {
    6060      dict = new Dictionary<TKey, TItem>(capacity);
    6161    }
    62     protected ObservableKeyedCollectionBase(IEqualityComparer<TKey> comparer) {
     62    protected ObservableKeyedCollection(IEqualityComparer<TKey> comparer) {
    6363      dict = new Dictionary<TKey, TItem>(comparer);
    6464    }
    65     protected ObservableKeyedCollectionBase(IEnumerable<TItem> collection) {
     65    protected ObservableKeyedCollection(IEnumerable<TItem> collection) {
    6666      if (collection == null) throw new ArgumentNullException();
    6767      dict = new Dictionary<TKey, TItem>();
     
    7070      OnItemsAdded(collection);
    7171    }
    72     protected ObservableKeyedCollectionBase(int capacity, IEqualityComparer<TKey> comparer) {
     72    protected ObservableKeyedCollection(int capacity, IEqualityComparer<TKey> comparer) {
    7373      dict = new Dictionary<TKey, TItem>(capacity, comparer);
    7474    }
    75     protected ObservableKeyedCollectionBase(IEnumerable<TItem> collection, IEqualityComparer<TKey> comparer) {
     75    protected ObservableKeyedCollection(IEnumerable<TItem> collection, IEqualityComparer<TKey> comparer) {
    7676      if (collection == null) throw new ArgumentNullException();
    7777      dict = new Dictionary<TKey, TItem>(comparer);
Note: See TracChangeset for help on using the changeset viewer.