From 8c137f229c36a777ead5cacb3350cb8692646292 Mon Sep 17 00:00:00 2001 From: "mo.khan" Date: Sat, 5 Jan 2008 07:16:52 +0000 Subject: git-svn-id: http://mokhan.googlecode.com/svn/trunk@9 a0a4a051-f042-0410-9e78-9fae330bdb64 --- .../app/BloggerToDasBlog.Console/BloggerEntry.cs | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 BloggerToDasBlog/trunk/src/app/BloggerToDasBlog.Console/BloggerEntry.cs (limited to 'BloggerToDasBlog/trunk/src/app/BloggerToDasBlog.Console/BloggerEntry.cs') diff --git a/BloggerToDasBlog/trunk/src/app/BloggerToDasBlog.Console/BloggerEntry.cs b/BloggerToDasBlog/trunk/src/app/BloggerToDasBlog.Console/BloggerEntry.cs new file mode 100644 index 0000000..bb710c5 --- /dev/null +++ b/BloggerToDasBlog/trunk/src/app/BloggerToDasBlog.Console/BloggerEntry.cs @@ -0,0 +1,55 @@ +using System; +using System.Collections.Generic; + +namespace BloggerToDasBlog.Console { + public class BloggerEntry : IBloggerEntry { + public BloggerEntry( ) { + _comments = new List< IBloggerComment >( ); + } + + public BloggerEntry( Uri url, string title, string body, string author, DateTime date, + IList< IBloggerComment > comments ) { + _url = url; + _title = title; + _body = body; + _author = author; + _date = date; + _comments = comments; + } + + public Uri Url { + get { return _url; } + } + + public string Title { + get { return _title; } + set { _title = value; } + } + + public string Body { + get { return _body; } + set { _body = value; } + } + + public string Author { + get { return _author; } + set { _author = value; } + } + + public DateTime Date { + get { return _date; } + set { _date = value; } + } + + public IList< IBloggerComment > Comments { + get { return _comments; } + } + + private Uri _url; + private String _title; + private String _body; + private String _author; + private DateTime _date; + private IList< IBloggerComment > _comments; + } +} \ No newline at end of file -- cgit v1.2.3