summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/ViewModels
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Web/ViewModels')
-rw-r--r--src/SMAPI.Web/ViewModels/LogParserModel.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/SMAPI.Web/ViewModels/LogParserModel.cs b/src/SMAPI.Web/ViewModels/LogParserModel.cs
new file mode 100644
index 00000000..b5b3b14c
--- /dev/null
+++ b/src/SMAPI.Web/ViewModels/LogParserModel.cs
@@ -0,0 +1,31 @@
+namespace StardewModdingAPI.Web.ViewModels
+{
+ /// <summary>The view model for the log parser page.</summary>
+ public class LogParserModel
+ {
+ /*********
+ ** Accessors
+ *********/
+ /// <summary>The root URL for the log parser controller.</summary>
+ public string SectionUrl { get; set; }
+
+ /// <summary>The paste ID.</summary>
+ public string PasteID { get; set; }
+
+
+ /*********
+ ** Public methods
+ *********/
+ /// <summary>Construct an instance.</summary>
+ public LogParserModel() { }
+
+ /// <summary>Construct an instance.</summary>
+ /// <param name="sectionUrl">The root URL for the log parser controller.</param>
+ /// <param name="pasteID">The paste ID.</param>
+ public LogParserModel(string sectionUrl, string pasteID)
+ {
+ this.SectionUrl = sectionUrl;
+ this.PasteID = pasteID;
+ }
+ }
+}