ActivEarth.Objects.Competition.ActivityScore.ActivityScore C# (CSharp) Метод

ActivityScore() публичный Метод

Creates a new ActivityScore, initialized to the given parameters. Used to rebuild Group and User objects when retreiving data from the DB.
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
Результат System.Runtime.Serialization
        public ActivityScore(int badgeScore, int challengeScore, int contestScore)
        {
            this.BadgeScore = badgeScore;
            this.ChallengeScore = challengeScore;
            this.ContestScore = contestScore;
            this.TotalScore = badgeScore + challengeScore + contestScore;
        }

Same methods

ActivityScore::ActivityScore ( ) : System.Runtime.Serialization