Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 0ba347d

Browse files
committed
Code cleanup.
1 parent 16943df commit 0ba347d

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

WpfObservableRangeCollection/WpfObservableRangeCollection.cs

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
namespace CodingNinja.Wpf.ObjectModel;
1212

1313
/// <summary>
14-
/// Wpf version of ObservableRangeCollection with CollectionView support.
15-
/// <para>If the <see cref="NotSupportedException"/> still occurred, try using <see cref="BindingOperations.EnableCollectionSynchronization(IEnumerable, Object)"/>.</para>
14+
/// Wpf version of <see cref="ObservableRangeCollection{T}"/> with <see cref="CollectionView"/> support.
1615
/// </summary>
16+
/// <remarks>If the <see cref="NotSupportedException"/> still occurred, try using <see cref="BindingOperations.EnableCollectionSynchronization(IEnumerable, Object)"/>.</remarks>
1717
/// <typeparam name="T"></typeparam>
1818
public class WpfObservableRangeCollection<T> : ObservableRangeCollection<T>
1919
{
@@ -58,38 +58,30 @@ public void Dispose()
5858

5959
private DeferredEventsCollection? _deferredEvents;
6060

61-
/// <summary>
6261
/// <inheritdoc/>
63-
/// </summary>
6462
public WpfObservableRangeCollection(bool allowDuplicates = true, EqualityComparer<T>? comparer = null)
6563
: base(allowDuplicates, comparer)
6664
{ }
6765

68-
/// <summary>
6966
/// <inheritdoc/>
70-
/// </summary>
7167
public WpfObservableRangeCollection(IEnumerable<T> collection, bool allowDuplicates = true, EqualityComparer<T>? comparer = null)
7268
: base(collection, allowDuplicates, comparer)
7369
{ }
7470

75-
/// <summary>
7671
/// <inheritdoc/>
77-
/// </summary>
7872
public WpfObservableRangeCollection(List<T> list, bool allowDuplicates = true, EqualityComparer<T>? comparer = null)
7973
: base(list, allowDuplicates, comparer)
8074
{ }
8175

82-
/// <summary>
8376
/// <inheritdoc/>
84-
/// </summary>
8577
protected override IDisposable DeferEvents()
8678
{
8779
return new DeferredEventsCollection(this);
8880
}
8981

9082
/// <summary>
91-
/// Raise CollectionChanged event to any listeners.
92-
/// Properties/methods modifying this ObservableCollection will raise
83+
/// Raise <see cref="ObservableCollection{T}.CollectionChanged"/> event to any listeners.
84+
/// Properties/methods modifying this <see cref="ObservableCollection{T}"/> will raise
9385
/// a collection changed event through this virtual method.
9486
/// </summary>
9587
/// <remarks>

0 commit comments

Comments
 (0)