|
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 Time Input page. More...
Public Member Functions | |||
| TimeInputViewModel (IPersonService personService, IRaceService raceService, IWorkspaceService workspaceService) | |||
| Constructor of the time input 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 | |
| List< PersonStart > | AvailablePersonStarts [get, set] |
| List of all available PersonStart objects. | |
| ICollectionView | AvailablePersonStartsCollectionView [get, private set] |
| CollectionView used to display the list of available PersonStart | |
| RacesVariant | PersistedRacesVariant [get] |
| Gets the persisted variant of races as managed by the race service. | |
| int | TimeInputMillisecondDigits [get, set] |
| Number of digits used to display milliseconds in the time input control. | |
| string | TimeInputFormatString [get] |
| Format string displayed as tooltip in the time input control. | |
| bool | IsTimeInputMissing [get] |
| True, if at least one active PersonStart is missing a time input. | |
| TimeInputPersonStartFilterModes | FilterPersonStartMode [get, set] |
| Currently active filter mode. | |
| List< Person > | AvailablePersons [get] |
| List with all available Person objects. | |
| Person | FilteredPerson [get, set] |
| All PersonStart elements that match this Person will be filtered if the FilterPersonStartMode is TimeInputPersonStartFilterModes.Person | |
| int | FilteredRaceID [get, set] |
| All PersonStart elements that are part of the race with the Race.RaceID in the PersistedRacesVariant will be filtered if the FilterPersonStartMode is TimeInputPersonStartFilterModes.RaceNumber | |
| int | FilteredCompetitionID [get, set] |
| All PersonStart elements that match this competition ID will be filtered if the FilterPersonStartMode is TimeInputPersonStartFilterModes.CompetitionID | |
| Predicate< object > | AvailablePersonStartsFilterPredicate [get] |
| Function used when filtering the PersonStart list. | |
Private Member Functions | |
| void | Start_PropertyChanged (object sender, PropertyChangedEventArgs e) |
Private Attributes | |
| ICollectionView | _availablePersonStartsCollectionView |
| int | _timeInputMillisecondDigits |
| TimeInputPersonStartFilterModes | _filterPersonStartMode = TimeInputPersonStartFilterModes.None |
| Person | _filteredPerson |
| int | _filteredRaceID = 1 |
| int | _filteredCompetitionID = 1 |
| readonly IPersonService | _personService |
| readonly IRaceService | _raceService |
| readonly IWorkspaceService | _workspaceService |
ViewModel for the Time Input page.
Definition at line 14 of file TimeInputViewModel.cs.
| Vereinsmeisterschaften.ViewModels.TimeInputViewModel.TimeInputViewModel | ( | IPersonService | personService, |
| IRaceService | raceService, | ||
| IWorkspaceService | workspaceService ) |
Constructor of the time input view model.
| personService | IPersonService object |
| raceService | IRaceService object |
| workspaceService | IWorkspaceService object |
Definition at line 187 of file TimeInputViewModel.cs.
| void Vereinsmeisterschaften.ViewModels.TimeInputViewModel.OnNavigatedFrom | ( | ) |
OnNavigatedFrom method to handle navigation away from this object.
Implements Vereinsmeisterschaften.Contracts.ViewModels.INavigationAware.
Definition at line 216 of file TimeInputViewModel.cs.
| void Vereinsmeisterschaften.ViewModels.TimeInputViewModel.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 195 of file TimeInputViewModel.cs.
|
private |
Definition at line 225 of file TimeInputViewModel.cs.
|
private |
Definition at line 21 of file TimeInputViewModel.cs.
|
private |
Definition at line 125 of file TimeInputViewModel.cs.
|
private |
Definition at line 89 of file TimeInputViewModel.cs.
|
private |
Definition at line 107 of file TimeInputViewModel.cs.
|
private |
Definition at line 66 of file TimeInputViewModel.cs.
|
private |
Definition at line 177 of file TimeInputViewModel.cs.
|
private |
Definition at line 178 of file TimeInputViewModel.cs.
|
private |
Definition at line 36 of file TimeInputViewModel.cs.
|
private |
Definition at line 179 of file TimeInputViewModel.cs.
|
get |
List with all available Person objects.
Definition at line 87 of file TimeInputViewModel.cs.
|
getset |
List of all available PersonStart objects.
Definition at line 19 of file TimeInputViewModel.cs.
|
getprivate set |
CollectionView used to display the list of available PersonStart
Definition at line 25 of file TimeInputViewModel.cs.
|
get |
Function used when filtering the PersonStart list.
Definition at line 146 of file TimeInputViewModel.cs.
|
getset |
All PersonStart elements that match this competition ID will be filtered if the FilterPersonStartMode is TimeInputPersonStartFilterModes.CompetitionID
Definition at line 129 of file TimeInputViewModel.cs.
|
getset |
All PersonStart elements that match this Person will be filtered if the FilterPersonStartMode is TimeInputPersonStartFilterModes.Person
Definition at line 93 of file TimeInputViewModel.cs.
|
getset |
All PersonStart elements that are part of the race with the Race.RaceID in the PersistedRacesVariant will be filtered if the FilterPersonStartMode is TimeInputPersonStartFilterModes.RaceNumber
Definition at line 111 of file TimeInputViewModel.cs.
|
getset |
Currently active filter mode.
Definition at line 70 of file TimeInputViewModel.cs.
|
get |
True, if at least one active PersonStart is missing a time input.
Definition at line 60 of file TimeInputViewModel.cs.
|
get |
Gets the persisted variant of races as managed by the race service.
Definition at line 34 of file TimeInputViewModel.cs.
|
get |
Format string displayed as tooltip in the time input control.
Definition at line 55 of file TimeInputViewModel.cs.
|
getset |
Number of digits used to display milliseconds in the time input control.
Definition at line 40 of file TimeInputViewModel.cs.