|
11 | 11 | namespace CodingNinja.Wpf.ObjectModel;
|
12 | 12 |
|
13 | 13 | /// <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. |
16 | 15 | /// </summary>
|
| 16 | +/// <remarks>If the <see cref="NotSupportedException"/> still occurred, try using <see cref="BindingOperations.EnableCollectionSynchronization(IEnumerable, Object)"/>.</remarks> |
17 | 17 | /// <typeparam name="T"></typeparam>
|
18 | 18 | public class WpfObservableRangeCollection<T> : ObservableRangeCollection<T>
|
19 | 19 | {
|
@@ -58,38 +58,30 @@ public void Dispose()
|
58 | 58 |
|
59 | 59 | private DeferredEventsCollection? _deferredEvents;
|
60 | 60 |
|
61 |
| - /// <summary> |
62 | 61 | /// <inheritdoc/>
|
63 |
| - /// </summary> |
64 | 62 | public WpfObservableRangeCollection(bool allowDuplicates = true, EqualityComparer<T>? comparer = null)
|
65 | 63 | : base(allowDuplicates, comparer)
|
66 | 64 | { }
|
67 | 65 |
|
68 |
| - /// <summary> |
69 | 66 | /// <inheritdoc/>
|
70 |
| - /// </summary> |
71 | 67 | public WpfObservableRangeCollection(IEnumerable<T> collection, bool allowDuplicates = true, EqualityComparer<T>? comparer = null)
|
72 | 68 | : base(collection, allowDuplicates, comparer)
|
73 | 69 | { }
|
74 | 70 |
|
75 |
| - /// <summary> |
76 | 71 | /// <inheritdoc/>
|
77 |
| - /// </summary> |
78 | 72 | public WpfObservableRangeCollection(List<T> list, bool allowDuplicates = true, EqualityComparer<T>? comparer = null)
|
79 | 73 | : base(list, allowDuplicates, comparer)
|
80 | 74 | { }
|
81 | 75 |
|
82 |
| - /// <summary> |
83 | 76 | /// <inheritdoc/>
|
84 |
| - /// </summary> |
85 | 77 | protected override IDisposable DeferEvents()
|
86 | 78 | {
|
87 | 79 | return new DeferredEventsCollection(this);
|
88 | 80 | }
|
89 | 81 |
|
90 | 82 | /// <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 |
93 | 85 | /// a collection changed event through this virtual method.
|
94 | 86 | /// </summary>
|
95 | 87 | /// <remarks>
|
|
0 commit comments