24 _scoreService = scoreService;
44 List<Person> sortedPersons = _scoreService.GetPersonsSortedByScore(
ResultTypes.Overall,
true);
45 _scoreService.UpdateResultListPlacesForAllPersons();
46 return sortedPersons.ToArray();
DocumentStrategyBase(IWorkspaceService workspaceService, IServiceProvider serviceProvider)
Constructor for the document strategy base class.
DocumentStrategyResultList(IScoreService scoreService, IWorkspaceService workspaceService, IServiceProvider serviceProvider)
Constructor for the document strategy for a result list.
override Person[] GetItems()
Return a list of all Person items sorted by their scores.
override string TemplatePath
Gets the path to the template used for creating the document.
override DocumentCreationTypes DocumentType
Gets the type of document this strategy creates.
override bool CreateMultiplePages
This always returns false
Class describing a person.
Service used to create documents like certificates or start lists.
static string GetDocumentPathAbsolute(string documentCreationSettingKey, IWorkspaceService workspaceService)
Get the absolute path for the requested document creation setting.
Class holding all workspace settings.
Interface for a service used to calculate the scores for all persons.
Interface for a service used to manage a workspace.
ResultTypes
Available result types.
DocumentCreationTypes
Different types of documents that can be created.