Property | Type | Description |
---|
Method | Description | |
---|---|---|
ActivityScore ( ) : System.Runtime.Serialization |
Creates a new ActivityScore, initialized to 0.
|
|
ActivityScore ( int badgeScore, int challengeScore, int contestScore ) : System.Runtime.Serialization |
Creates a new ActivityScore, initialized to the given parameters. Used to rebuild Group and User objects when retreiving data from the DB.
|
|
AddBadgePoints ( int points ) : void |
Adds newly earned Activity Points from badges.
|
|
AddChallengePoints ( int points ) : void |
Adds newly earned Activity Points from Challenges.
|
|
AddContestPoints ( int points ) : void |
Adds newly earned Activity Points from Contests.
|
public ActivityScore ( ) : System.Runtime.Serialization | ||
return | System.Runtime.Serialization |
public ActivityScore ( int badgeScore, int challengeScore, int contestScore ) : System.Runtime.Serialization | ||
badgeScore | int | The BadgeScore stored in the DB |
challengeScore | int | The ChallengeScore stored in the DB |
contestScore | int | The ContestScore stored in the DB |
return | System.Runtime.Serialization |
public AddBadgePoints ( int points ) : void | ||
points | int | Number of points to add to the Activity Score. |
return | void |
public AddChallengePoints ( int points ) : void | ||
points | int | Number of points to add to the Activity Score. |
return | void |
public AddContestPoints ( int points ) : void | ||
points | int | Number of points to add to the Activity Score. |
return | void |