Ejemplo n.º 1
0
        public User(string firstname, string lastname)
        {
            FirstName = firstname;
            LastName = lastname;

            _stats = new Dictionary<Statistic, UserStatistic>();

            Wall = new Wall();
            ActivityScore = new ActivityScore();

            userPrivacySettings = new PrivacySetting();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a Recent Activity object representing a Wall Message that resulted from 
 /// a User's recent activity.
 /// </summary>
 /// <param name="addactivityscore">The amount to add to the activityscore as a result of the activity</param>
 /// <param name="addgreenscore">The amount to add to the greenscore as a result of the activity</param>
 /// <param name="title">The title of the Message</param>
 /// <param name="text">The text in the Message</param>
 /// <param name="poster">The User who posted the Message</param>
 public RecentActivity(ActivityScore addactivityscore, uint addgreenscore, string title, string text, User poster)
     : base(title, text, poster)
 {
     this.AddActivityScore = addactivityscore;
     this.AddGreenScore = addgreenscore;
 }