unity-atoms/Packages/Core/Runtime/Interfaces/IPair.cs

14 lines
272 B
C#
Raw Normal View History

2020-03-01 15:32:52 -05:00
namespace UnityAtoms
{
2020-03-21 17:45:39 -04:00
/// <summary>
/// Interface defining a generic `IPair&lt;T&gt;`.
/// </summary>
2020-03-01 15:32:52 -05:00
public interface IPair<T>
{
T Item1 { get; set; }
T Item2 { get; set; }
void Deconstruct(out T item1, out T item2);
}
}