1using System.Collections.ObjectModel;
2using System.ComponentModel;
Class describing a competition.
Class describing a person.
Interface for a service used to get and store a list of objects.
void UpdateAllCompetitionDistancesFromDistanceRules(bool keepRudolphTableFlags=false)
Update the Competition.Distance from the matching CompetitionDistanceRule for all Competition objects...
Competition GetCompetitionForPerson(Person person, SwimmingStyles swimmingStyle, out bool isUsingMaxAgeCompetition, out bool isUsingExactAgeCompetition)
Return the competition that matches the person and swimming style.
void SetWorkspaceServiceObj(IWorkspaceService workspaceService)
Save the reference to the IWorkspaceService object.
void ClearAll()
Clear all Competitions.
void CreateCompetitionsFromRudolphTable(string rudolphTableCsvFile, byte rudolphScore)
Create the Competition objects from the given rudolph table.
int CompetitionCount
Return the number of Competition
void UpdateCompetitionDistanceFromDistanceRules(Competition competition, bool keepRudolphTableFlags=false)
Update the Competition.Distance from the matching CompetitionDistanceRule
void UpdateAllCompetitionTimesFromRudolphTable(string rudolphTableCsvFile, byte rudolphScore)
Update all Competition.BestTime properties from the given rudolph table.
ObservableCollection< Competition > GetCompetitions()
Return all available Competitions.
void UpdateAllCompetitionsForPerson()
Update all PersonStart and the Person.AvailableCompetitions objects with the corresponding Competitio...
void RemoveCompetition(Competition competition)
Remove the given Competition from the list of Competitions.
void ResetToLoadedState()
Reset the list of Competitions to the state when the Load(string, CancellationToken) method was calle...
void UpdateAllCompetitionsForPerson(Person person)
Update all PersonStart objects and the Person.AvailableCompetitions for the given Person with the cor...
void AddCompetition(Competition competition)
Add a new Competition to the list of Competitions.
Interface for saveable objects.
Interface for a service used to manage a workspace.
SwimmingStyles
Available swimming styles.