Free cookie consent management tool by TermsFeed Policy Generator

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

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

Location:
trunk/sources/HeuristicLab.Core/3.3
Files:
2 added
3 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>
  • trunk/sources/HeuristicLab.Core/3.3/HeuristicLab.Core-3.3.csproj

    r3602 r3628  
    104104    <Compile Include="Collections\CheckedItemCollection.cs" />
    105105    <Compile Include="Collections\CheckedItemList.cs" />
     106    <Compile Include="Collections\ReadOnlyCheckedItemCollection.cs" />
     107    <Compile Include="Collections\ReadOnlyCheckedItemList.cs">
     108      <SubType>Code</SubType>
     109    </Compile>
    106110    <Compile Include="Collections\ReadOnlyItemDictionary.cs" />
    107111    <Compile Include="Collections\ItemDictionary.cs" />
Note: See TracChangeset for help on using the changeset viewer.