public StandingData(int rank, string additional, string userName, string userScreenName, bool userIsDeleted, string affiliation, string country, int rating, int oldRating, bool isRated, int competitions, Dictionary <string, TaskResult> taskResults, TotalResult totalResult) { Rank = rank; Additional = additional; UserName = userName; UserScreenName = userScreenName; UserIsDeleted = userIsDeleted; Affiliation = affiliation; Country = country; Rating = rating; OldRating = oldRating; IsRated = isRated; Competitions = competitions; TaskResults = taskResults; TotalResult = totalResult; }
public TotalResult(TotalResult totalResult) : this(totalResult.Count, totalResult.Accepted, totalResult.Penalty, totalResult.Score, totalResult.Elapsed, totalResult.Frozen) { }