Keep text/value as get properties

Needed for binding in winforms, oops
This commit is contained in:
Kurt 2019-10-27 12:47:09 -07:00
parent 9401b7a790
commit ba593800d8

View file

@ -8,8 +8,8 @@ namespace PKHeX.Core
/// </summary> /// </summary>
public readonly struct ComboItem : IEquatable<int> public readonly struct ComboItem : IEquatable<int>
{ {
public readonly string Text; public string Text { get; }
public readonly int Value; public int Value { get; }
public ComboItem(string text, int value) public ComboItem(string text, int value)
{ {