summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/ViewModels/LogParserModel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Web/ViewModels/LogParserModel.cs')
-rw-r--r--src/SMAPI.Web/ViewModels/LogParserModel.cs26
1 files changed, 26 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..ba31db87
--- /dev/null
+++ b/src/SMAPI.Web/ViewModels/LogParserModel.cs
@@ -0,0 +1,26 @@
+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; }
+
+
+ /*********
+ ** 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>
+ public LogParserModel(string sectionUrl)
+ {
+ this.SectionUrl = sectionUrl;
+ }
+ }
+}