Vereinsmeisterschaften  22aa7800eae54b428d40e835886cefe1fdefdfdf
This is a software that can be used to manage the internal competition of the swimming club Illertissen called "Vereinsmeisterschaften".
Loading...
Searching...
No Matches
IScoreService.cs
2
4{
8 public interface IScoreService
9 {
15
20
25
32 List<Person> GetPersonsSortedByScore(ResultTypes resultType = ResultTypes.Overall, bool onlyActivePersons = true);
33
41 List<PersonStart> GetWinnersPodiumStarts(ResultTypes resultType, ResultPodiumsPlaces podiumsPlace);
42 }
43}
Class describing a person.
Definition Person.cs:12
Interface for a service used to calculate the scores for all persons.
void UpdateScoresForPerson(Person person)
Update all scores for this Person
List< PersonStart > GetWinnersPodiumStarts(ResultTypes resultType, ResultPodiumsPlaces podiumsPlace)
Find the best starts of all persons depending on the ResultTypes and requested ResultPodiumsPlaces Th...
List< Person > GetPersonsSortedByScore(ResultTypes resultType=ResultTypes.Overall, bool onlyActivePersons=true)
Get all persons, sort them depending on the requested ResultTypes and return as new list.
void UpdateResultListPlacesForAllPersons()
Update the result list places for all Person.
void UpdateScoresForAllPersons()
Update all scores for all Person
ResultTypes
Available result types.
Definition ResultTypes.cs:7
ResultPodiumsPlaces
Available result podium types.