mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-01-11 19:44:55 +00:00
feat: Initial commit of INotifyCollectionChanged
This commit is contained in:
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" />
|
||||
|
||||
Reference in New Issue
Block a user