1
0
mirror of https://github.com/chylex/.NET-Community-Toolkit.git synced 2025-07-04 12:38:55 +02:00
.NET-Community-Toolkit/CommunityToolkit.Mvvm/Messaging/Internals/System/Collections.Generic/IDictionary2.cs

22 lines
636 B
C#

// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Collections.Generic;
/// <summary>
/// A base interface masking <see cref="Dictionary2{TKey,TValue}"/> instances and exposing non-generic functionalities.
/// </summary>
internal interface IDictionary2
{
/// <summary>
/// Gets the count of entries in the dictionary.
/// </summary>
int Count { get; }
/// <summary>
/// Clears the current dictionary.
/// </summary>
void Clear();
}