Exemplo n.º 1
0
 private Post(string id, bool accept, string discussionType, DateTime time, PostTag tag, uint replyCount, uint empathyCount, bool isPlayed, bool isSpoiler, Uri screenShotUri, PostUser user, FeelingType feeling, PostCommunity community)
 {
     this.ID = id;
     this.IsAcceptingResponse = accept;
     this.DiscussionType      = discussionType;
     this.PostedDate          = time;
     this.Tag           = tag;
     this.ReplyCount    = replyCount;
     this.EmpathyCount  = empathyCount;
     this.IsPlayed      = isPlayed;
     this.IsSpoiler     = isSpoiler;
     this.ScreenShotUri = screenShotUri;
     this.User          = user;
     this.Feeling       = feeling;
     this.Community     = community;
 }
Exemplo n.º 2
0
 public Post(string id, bool accept, string discussionType, DateTime time, Uri imageUri, uint replyCount, uint empathyCount, bool isPlayed, bool isSpoiler, PostUser user, FeelingType feeling, PostCommunity community)
     : this(id, accept, discussionType, time, imageUri, replyCount, empathyCount, isPlayed, isSpoiler, null, user, feeling, community)
 {
 }
Exemplo n.º 3
0
 public Post(string id, bool accept, string discussionType, DateTime time, PostTag tag, Uri imageUri, uint replyCount, uint empathyCount, bool isPlayed, bool isSpoiler, Uri screenShotUri, PostUser user, FeelingType feeling, PostCommunity community)
     : this(id, accept, discussionType, time, tag, replyCount, empathyCount, isPlayed, isSpoiler, screenShotUri, user, feeling, community)
 {
     this.Text     = null;
     this.ImageUri = imageUri;
 }
Exemplo n.º 4
0
 public Post(string id, bool accept, string discussionType, DateTime time, string text, uint replyCount, uint empathyCount, bool isPlayed, bool isSpoiler, PostUser user, FeelingType feeling, PostCommunity community, string inReplyToId)
     : this(id, accept, discussionType, time, text, replyCount, empathyCount, isPlayed, isSpoiler, null, user, feeling, community)
 {
     this.InReplyToId = inReplyToId;
 }