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

Commit 8e4c237

Browse files
committed
Add documentation.
1 parent 163628a commit 8e4c237

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

WpfObservableRangeCollection/WpfObservableRangeCollection.cs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using System.Collections;
23
using System.Collections.Generic;
34
using System.Collections.ObjectModel;
45
using System.Collections.Specialized;
@@ -11,7 +12,7 @@ namespace CodingNinja.Wpf.ObjectModel;
1112
/// <summary>
1213
/// Forked from <see href="https://gist.github.com/weitzhandler/65ac9113e31d12e697cb58cd92601091#file-wpfobservablerangecollection-cs"/>
1314
/// <para>see <see href="https://stackoverflow.com/a/670579/4380178"/></para>
14-
/// <para>If the <seealso cref="NotSupportedException"/> still occurred, try using <seealso cref="BindingOperations.EnableCollectionSynchronization"/>.</para>
15+
/// <para>If the <seealso cref="NotSupportedException"/> still occurred, try using <seealso cref="BindingOperations.EnableCollectionSynchronization(IEnumerable, Object)"/>.</para>
1516
/// </summary>
1617
/// <typeparam name="T"></typeparam>
1718
public class WpfObservableRangeCollection<T> : ObservableRangeCollection<T>
@@ -54,12 +55,23 @@ public void Dispose()
5455

5556
private DeferredEventsCollection? _deferredEvents;
5657

58+
/// <summary>
59+
/// <inheritdoc/>
60+
/// </summary>
5761
public WpfObservableRangeCollection()
5862
{ }
5963

64+
/// <summary>
65+
/// <inheritdoc/>
66+
/// </summary>
67+
/// <param name="collection"></param>
6068
public WpfObservableRangeCollection(IEnumerable<T> collection) : base(collection)
6169
{ }
6270

71+
/// <summary>
72+
/// <inheritdoc/>
73+
/// </summary>
74+
/// <param name="list"></param>
6375
public WpfObservableRangeCollection(List<T> list) : base(list)
6476
{ }
6577

0 commit comments

Comments
 (0)