|
Vereinsmeisterschaften
22aa7800eae54b428d40e835886cefe1fdefdfdf
This is a software that can be used to manage the internal competition of the swimming club Illertissen called "Vereinsmeisterschaften".
|
ViewModel for the results page, showing the sorted persons based on their scores. More...
Public Member Functions | |||
| ResultsViewModel (IScoreService scoreService) | |||
| Constructor of the results view model. | |||
| void | OnNavigatedTo (object parameter) | ||
OnNavigatedTo method to handle navigation to this object.
| |||
| void | OnNavigatedFrom () | ||
| OnNavigatedFrom method to handle navigation away from this object. | |||
Properties | |
| ResultTypes | ResultType [get, set] |
| Type of result to view. | |
| List< PersonStart > | PodiumGoldStarts [get] |
| List with all starts on the gold podium place (highest scores) | |
| List< PersonStart > | PodiumSilverStarts [get] |
| List with all starts on the silver podium place (second highest scores) | |
| List< PersonStart > | PodiumBronzeStarts [get] |
| List with all starts on the bronze podium place (third highest scores) | |
Private Member Functions | |
| void | updatePersonsAndPlaces () |
Private Attributes | |
| List< Person > | _sortedPersons |
| List with all persons sorted by score. | |
| ResultTypes | _resultType = ResultTypes.Overall |
| IScoreService | _scoreService |
ViewModel for the results page, showing the sorted persons based on their scores.
Definition at line 14 of file ResultsViewModel.cs.
| Vereinsmeisterschaften.ViewModels.ResultsViewModel.ResultsViewModel | ( | IScoreService | scoreService | ) |
Constructor of the results view model.
| scoreService | IScoreService |
Definition at line 59 of file ResultsViewModel.cs.
| void Vereinsmeisterschaften.ViewModels.ResultsViewModel.OnNavigatedFrom | ( | ) |
OnNavigatedFrom method to handle navigation away from this object.
Implements Vereinsmeisterschaften.Contracts.ViewModels.INavigationAware.
Definition at line 73 of file ResultsViewModel.cs.
| void Vereinsmeisterschaften.ViewModels.ResultsViewModel.OnNavigatedTo | ( | object | parameter | ) |
OnNavigatedTo method to handle navigation to this object.
| parameter | Parameter that can be passed by the caller |
Implements Vereinsmeisterschaften.Contracts.ViewModels.INavigationAware.
Definition at line 67 of file ResultsViewModel.cs.
|
private |
Definition at line 77 of file ResultsViewModel.cs.
|
private |
Definition at line 22 of file ResultsViewModel.cs.
|
private |
Definition at line 53 of file ResultsViewModel.cs.
|
private |
List with all persons sorted by score.
Definition at line 20 of file ResultsViewModel.cs.
|
get |
List with all starts on the bronze podium place (third highest scores)
Definition at line 51 of file ResultsViewModel.cs.
|
get |
List with all starts on the gold podium place (highest scores)
Definition at line 41 of file ResultsViewModel.cs.
|
get |
List with all starts on the silver podium place (second highest scores)
Definition at line 46 of file ResultsViewModel.cs.
|
getset |
Type of result to view.
Definition at line 26 of file ResultsViewModel.cs.