Files
Simon Lübeß 3de861110e Custom Serializers
- Dictionary serializer
2024-01-05 13:37:58 +01:00

15 lines
322 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace GlitchyEngine.Extensions;
public static class KeyValuePairExtension
{
public static void Deconstruct<T1, T2>(this KeyValuePair<T1, T2> tuple, out T1 key, out T2 value)
{
key = tuple.Key;
value = tuple.Value;
}
}