using System.Reflection; namespace StardewModdingAPI { /// A field obtained through reflection. /// The field value type. public interface IReflectedField { /********* ** Accessors *********/ /// The reflection metadata. FieldInfo FieldInfo { get; } /********* ** Public methods *********/ /// Get the field value. TValue GetValue(); /// Set the field value. //// The value to set. void SetValue(TValue value); } }