1using System.Collections.ObjectModel;
2using System.ComponentModel;
Class describing a person.
Interface for a service used to get and store a list of objects.
Interface for a service used to get and store a list of Person objects.
void AddPerson(Person person)
Add a new Person to the list of Persons.
void ClearAll()
Clear all Persons.
List< PersonStart > GetAllPersonStarts(PersonStartFilters filter=PersonStartFilters.None, object filterParameter=null, bool onlyValidStarts=false)
Get all PersonStart objects for all Person objects that are not null.
void RemovePerson(Person person)
Remove the given Person from the list of Persons.
void UpdateAllFriendReferencesFromFriendGroupIDs()
Loop all Person objects and update their friend references (Person.Friends) from the friend group IDs...
void SetRaceServiceObj(IRaceService raceService)
Save the reference to the IRaceService object.
ObservableCollection< Person > GetPersons()
Return all available Persons.
void SetCompetitionServiceObj(ICompetitionService competitionService)
Save the reference to the ICompetitionService object.
int PersonCount
Return the number of Person
void SetScoreServiceObj(IScoreService scoreService)
Save the reference to the IScoreService object.
void ResetToLoadedState()
Reset the list of Persons to the state when the Load(string, CancellationToken) method was called.
int NumberFriendGroups
Return the number of friend groups.
int PersonStarts
Return the total number of starts of all persons.
void UpdateHasDuplicatesForPersons()
Find all duplicate Person objects and update the Person.HasDuplicates flags.
Interface for a service used to manage Race and RacesVariant objects.
Interface for saveable objects.
Interface for a service used to calculate the scores for all persons.
PersonStartFilters
Available filters for PersonStart objects.