-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add ExtendedObservableCollection and update MyNet.Utilities
Updated MyNet.Utilities package to version 5.2.1-pre.6 Added a new class ExtendedObservableCollection<T> in ExtendedObservableCollection.cs, inheriting from OptimizedObservableCollection<T> and implementing IObservableCollection<T> and IExtendedList<T> interfaces.
- Loading branch information
Stéphane ANDRE (E104915)
committed
Oct 10, 2024
1 parent
fa37341
commit c149070
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
src/MyNet.DynamicData.Extensions/ExtendedObservableCollection.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Copyright (c) Stéphane ANDRE. All Right Reserved. | ||
// See the LICENSE file in the project root for more information. | ||
|
||
using System.Collections.Generic; | ||
using DynamicData; | ||
using DynamicData.Binding; | ||
using MyNet.Utilities.Collections; | ||
|
||
namespace MyNet.DynamicData.Extensions | ||
{ | ||
public class ExtendedObservableCollection<T> : OptimizedObservableCollection<T>, IObservableCollection<T>, IExtendedList<T> | ||
{ | ||
public ExtendedObservableCollection() : base() { } | ||
|
||
public ExtendedObservableCollection(List<T> list) : base(list) { } | ||
|
||
public ExtendedObservableCollection(IEnumerable<T> collection) : base(collection) { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters