namespace StardewModdingAPI.Web.ViewModels
{
/// Metadata about a link.
public class ModLinkModel
{
/*********
** Accessors
*********/
/// The URL of the linked page.
public string Url { get; }
/// The suggested link text.
public string Text { get; }
/*********
** 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;
}
}
}