namespace StardewModdingAPI.Web.ViewModels
{
/// Metadata about a link.
public class ModLinkModel
{
/*********
** Accessors
*********/
/// The URL of the linked page.
public string Url { get; set; }
/// The suggested link text.
public string Text { get; set; }
/*********
** Public methods
*********/
/// Construct an instance.
/// The URL of the linked page.
/// The suggested link text.
public ModLinkModel(string url, string text)
{
this.Url = url;
this.Text = text;
}
}
}