aboutsummaryrefslogtreecommitdiff
path: root/Mammoth/Message.cs
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-05-07 21:27:34 +0000
committerMichael Williamson <mike@zwobble.org>2015-05-07 21:27:34 +0000
commitc3f394bb9b6a91ccde7b2255e46db463afc63652 (patch)
treee3e5d670be450ed774f0fb0ca587a3bde53fa4b8 /Mammoth/Message.cs
Use edge.js to run mammoth.js from .NET
Diffstat (limited to 'Mammoth/Message.cs')
-rw-r--r--Mammoth/Message.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Mammoth/Message.cs b/Mammoth/Message.cs
new file mode 100644
index 0000000..6aa782b
--- /dev/null
+++ b/Mammoth/Message.cs
@@ -0,0 +1,19 @@
+namespace Mammoth
+{
+ public class Message
+ {
+ public static Message Warning(string value)
+ {
+ return new Message(value);
+ }
+
+ private readonly string _value;
+
+ private Message(string value)
+ {
+ _value = value;
+ }
+
+ public string Value { get { return _value; } }
+ }
+}