public bool SetPlace(Student student, ResultPlace place) { if (ContainsScore(student)) { ResultPlaceCollection places = student.SemsScore.RatingResults; if (places.ContainsKey(place.Scope.ScopeType)) { places[place.Scope.ScopeType] = place; } else { places.AddPlace(place); } return(true); } else { return(false); } }
protected RatableScore() { _rating_results = new ResultPlaceCollection(); _score_name = string.Empty; _score = int.MinValue; }