Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class SocialMediaPost : IScoreable, IValidatebale {
- public SocialMediaUser Author {get: set:}
- public string Content {get: set:}
- public bool IsValid { get {return (Author.IsValid && Content != null && Content != "")
- }}
- public double GetScoreForUser(IUser user) {return Scorer.Score(user, this);
- }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement