Skip to content

Commit 2712e9b

Browse files
committed
Seal ObservableGroup<TKey, TElement> for consistency
1 parent 03e85af commit 2712e9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CommunityToolkit.Mvvm/Collections/ObservableGroup{TKey,TElement}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace CommunityToolkit.Mvvm.Collections;
1717
/// <typeparam name="TKey">The type of the group key.</typeparam>
1818
/// <typeparam name="TElement">The type of elements in the group.</typeparam>
1919
[DebuggerDisplay("Key = {Key}, Count = {Count}")]
20-
public class ObservableGroup<TKey, TElement> : ObservableCollection<TElement>, IReadOnlyObservableGroup<TKey, TElement>
20+
public sealed class ObservableGroup<TKey, TElement> : ObservableCollection<TElement>, IReadOnlyObservableGroup<TKey, TElement>
2121
where TKey : notnull
2222
{
2323
/// <summary>

0 commit comments

Comments
 (0)