spectre.console/src/Spectre.Console/Extensions/DictionaryExtensions.cs
Patrik Svensson a23bec4082 Add profile support
Closes #231
2021-01-19 17:53:03 +01:00

14 lines
312 B
C#

using System.Collections.Generic;
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;
}
}
}