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; private set; }
/// The current value.
public string PriorString { get; private set; }
/*********
** Public methods
*********/
/// Construct an instance.
/// The previous value.
/// The current value.
public EventArgsStringChanged(string priorString, string newString)
{
this.NewString = newString;
this.PriorString = priorString;
}
}
}