feat: Initial commit of INotifyCollectionChanged

This commit is contained in:
Chris Cameron
2020-10-22 12:17:55 -04:00
parent 2a7a051f1f
commit 2235eeeb9d
2 changed files with 15 additions and 0 deletions

View 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;
}
}

View File

@@ -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" />