mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 03:57:32 +00:00
feat: Initial commit of INotifyCollectionChanged
This commit is contained in:
parent
2a7a051f1f
commit
2235eeeb9d
2 changed files with 15 additions and 0 deletions
14
ICD.Common.Utils/Collections/INotifyCollectionChanged.cs
Normal file
14
ICD.Common.Utils/Collections/INotifyCollectionChanged.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
|
||||
namespace ICD.Common.Utils.Collections
|
||||
{
|
||||
// Poor-mans System.Collections.Specialized
|
||||
// Delete when we finally drop Crestron 3-series.
|
||||
public interface INotifyCollectionChanged
|
||||
{
|
||||
/// <summary>
|
||||
/// Raised when the contents of the collection change, or the order changes.
|
||||
/// </summary>
|
||||
event EventHandler OnCollectionChanged;
|
||||
}
|
||||
}
|
||||
|
|
@ -80,6 +80,7 @@
|
|||
<Compile Include="Attributes\RangeAttribute.cs" />
|
||||
<Compile Include="Collections\BiDictionary.cs" />
|
||||
<Compile Include="Collections\IcdOrderedDictionary.cs" />
|
||||
<Compile Include="Collections\INotifyCollectionChanged.cs" />
|
||||
<Compile Include="Collections\PriorityQueue.cs" />
|
||||
<Compile Include="Collections\RateLimitedEventQueue.cs" />
|
||||
<Compile Include="Collections\WeakKeyDictionary.cs" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue