Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/05/10 12:44:29 (15 years ago)
Author:
gkronber
Message:

Added ReadOnlyCheckedItemCollection and ReadOnlyCheckedItemList #992 (CheckedItemList and CheckedItemCollection is necessary)

Location:
trunk/sources/HeuristicLab.Core/3.3/Collections
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/3.3/Collections/CheckedItemCollection.cs

    r3594 r3628  
    113113
    114114    /// <summary>
     115    /// Creates a ReadOnlyCheckedItemCollection containing the same elements.
     116    /// </summary>
     117    /// <returns>A new ReadOnlyCheckedItemCollection containing the same elements.</returns>
     118    public new ReadOnlyCheckedItemCollection<T> AsReadOnly() {
     119      return new ReadOnlyCheckedItemCollection<T>(this);
     120    }
     121
     122    /// <summary>
    115123    /// Raised when the collection of items is reset.
    116124    /// </summary>
  • trunk/sources/HeuristicLab.Core/3.3/Collections/CheckedItemList.cs

    r3594 r3628  
    149149
    150150    /// <summary>
     151    /// Creates a ReadOnlyCheckedItemList containing the same elements.
     152    /// </summary>
     153    /// <returns>A new ReadOnlyCheckedItemList containing the same elements.</returns>
     154    public new ReadOnlyCheckedItemList<T> AsReadOnly() {
     155      return new ReadOnlyCheckedItemList<T>(this);
     156    }
     157
     158    /// <summary>
    151159    /// Raised after the list has been reset.
    152160    /// </summary>
Note: See TracChangeset for help on using the changeset viewer.