Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. public class SocialMediaPost : IScoreable, IValidatebale {
  2. public SocialMediaUser Author {get: set:}
  3. public string Content {get: set:}
  4. public bool IsValid { get {return (Author.IsValid && Content != null && Content != "")
  5. }}
  6. public double GetScoreForUser(IUser user) {return Scorer.Score(user, this);
  7. }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement