using System;
namespace StardewModdingAPI.Events
{
/// Event arguments for a string field that changed value.
public class EventArgsStringChanged : EventArgs
{
/*********
** Accessors
*********/
/// The previous value.
public string NewString { get; }
/// The current value.
public string PriorString { get; }
/*********
** Public methods
*********/
/// Construct an instance.
/// The previous value.
/// The current value.
public EventArgsStringChanged(string priorString, string newString)
{
this.NewString = newString;
this.PriorString = priorString;
}
}
}