using StardewModdingAPI.Web.Framework.LogParsing.Models;
namespace StardewModdingAPI.Web.ViewModels
{
/// The view model for the log parser page.
public class LogParserModel
{
/*********
** Accessors
*********/
/// The root URL for the log parser controller.
public string SectionUrl { get; set; }
/// The paste ID.
public string PasteID { get; set; }
/// The parsed log info.
public ParsedLog ParsedLog { get; set; }
/*********
** Public methods
*********/
/// Construct an instance.
public LogParserModel() { }
/// Construct an instance.
/// The root URL for the log parser controller.
/// The paste ID.
/// The parsed log info.
public LogParserModel(string sectionUrl, string pasteID, ParsedLog parsedLog)
{
this.SectionUrl = sectionUrl;
this.PasteID = pasteID;
this.ParsedLog = parsedLog;
}
}
}