mirror of
https://github.com/spectreconsole/spectre.console.git
synced 2025-12-27 08:17:57 +01:00
10 lines
242 B
C#
10 lines
242 B
C#
namespace Spectre.Console;
|
|
|
|
internal static class DictionaryExtensions
|
|
{
|
|
public static void Deconstruct<T1, T2>(this KeyValuePair<T1, T2> tuple, out T1 key, out T2 value)
|
|
{
|
|
key = tuple.Key;
|
|
value = tuple.Value;
|
|
}
|
|
} |