summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/ViewModels
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-10-29 19:40:47 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-10-29 19:40:47 -0400
commitef90bdbde5b473d866c74053a7dd23fbd0691b53 (patch)
treedb8067999193769a53eacc1b5fa225cfd1a3e45f /src/SMAPI.Web/ViewModels
parent3d8bdacc8cb5c9d5514e052d5d4c1d5f2dbc6e9e (diff)
parent650d729bc3e58ec1ecbb554805f8600f63b59a13 (diff)
downloadSMAPI-ef90bdbde5b473d866c74053a7dd23fbd0691b53.tar.gz
SMAPI-ef90bdbde5b473d866c74053a7dd23fbd0691b53.tar.bz2
SMAPI-ef90bdbde5b473d866c74053a7dd23fbd0691b53.zip
Merge branch 'add-log-parser' into develop
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;
+ }
+ }
+}