unity-atoms/Packages/Core/Runtime/Interfaces/IPair.cs
2020-03-21 22:45:39 +01:00

14 lines
272 B
C#

namespace UnityAtoms
{
/// <summary>
/// Interface defining a generic `IPair&lt;T&gt;`.
/// </summary>
public interface IPair<T>
{
T Item1 { get; set; }
T Item2 { get; set; }
void Deconstruct(out T item1, out T item2);
}
}