using System.Collections.Generic;
using System.Diagnostics;
using JetBrains.Annotations;
namespace JetBrains.Collections
{
///
/// Facilitates
///
public static class JetKeyValuePair
{
[Pure, DebuggerStepThrough]
public static KeyValuePair Of(TKey key, TValue value)
{
return new KeyValuePair(key, value);
}
public static void Deconstruct(this KeyValuePair pair, out TKey key, out TValue value)
{
key = pair.Key;
value = pair.Value;
}
}
}