summaryrefslogtreecommitdiff
path: root/src/app/BloggerToDasBlog.Console/BloggerComment.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/BloggerToDasBlog.Console/BloggerComment.cs')
-rw-r--r--src/app/BloggerToDasBlog.Console/BloggerComment.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/app/BloggerToDasBlog.Console/BloggerComment.cs b/src/app/BloggerToDasBlog.Console/BloggerComment.cs
new file mode 100644
index 0000000..213d537
--- /dev/null
+++ b/src/app/BloggerToDasBlog.Console/BloggerComment.cs
@@ -0,0 +1,32 @@
+using System;
+
+namespace BloggerToDasBlog.Console {
+ public class BloggerComment : IBloggerComment {
+ public BloggerComment( ) {}
+
+ public BloggerComment( string author, DateTime date, string body ) {
+ _author = author;
+ _date = date;
+ _body = body;
+ }
+
+ public string Author {
+ get { return _author; }
+ set { _author = value; }
+ }
+
+ public DateTime Date {
+ get { return _date; }
+ set { _date = value; }
+ }
+
+ public string Body {
+ get { return _body; }
+ set { _body = value; }
+ }
+
+ private String _author;
+ private DateTime _date;
+ private String _body;
+ }
+} \ No newline at end of file