File: Comment.cs

package info (click to toggle)
dfo 0.8%2Bsvn52-7
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 916 kB
  • sloc: cs: 6,025; makefile: 16; sh: 15
file content (45 lines) | stat: -rw-r--r-- 774 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

using System;

	public class Comment
	{
		private string _id;
		private string _html;
		private string _username;
		private string _photoid;
		
		public Comment(string commentid, string commenthtml, string username) {
		  this._id = commentid;
		  this._html = commenthtml;
		  this._username = username;
		}
		
		public Comment(string photoid, string commentid, string commenthtml, 
		    string username) : this(commentid, commenthtml, username) {
		  this._photoid = photoid;
		}
		
		public string CommentId {
		  get {
		    return _id;
		  }
		}
		
		public string CommentHtml {
		  get {
		    return _html;
		  }
		}
		
		public string UserName {
		  get {
		    return _username;
		  }
		}
		
		public string PhotoId {
		  get {
		    return _photoid;
		  }
		}
	}