using System; using System.Reflection; namespace StardewModdingAPI { /// A private property obtained through reflection. /// The property value type. [Obsolete("Use " + nameof(IPrivateProperty) + " instead")] public interface IPrivateProperty { /********* ** Accessors *********/ /// The reflection metadata. PropertyInfo PropertyInfo { get; } /********* ** Public methods *********/ /// Get the property value. TValue GetValue(); /// Set the property value. //// The value to set. void SetValue(TValue value); } }