Vereinsmeisterschaften  22aa7800eae54b428d40e835886cefe1fdefdfdf
This is a software that can be used to manage the internal competition of the swimming club Illertissen called "Vereinsmeisterschaften".
Loading...
Searching...
No Matches
DocumentStrategyAnalytics.cs
7
9{
13 public class DocumentStrategyAnalytics : DocumentStrategyBase<IAnalyticsModule>
14 {
15 private readonly IEnumerable<IAnalyticsModule> _analyticsModules;
16
23 public DocumentStrategyAnalytics(IEnumerable<IAnalyticsModule> analyticsModules, IWorkspaceService workspaceService, IServiceProvider serviceProvider) : base(workspaceService, serviceProvider)
24 {
25 _analyticsModules = analyticsModules;
26 }
27
30
32 public override string TemplatePath => DocumentService.GetDocumentPathAbsolute(WorkspaceSettings.SETTING_DOCUMENT_CREATION_ANALYTICS_TEMPLATE_PATH, _workspaceService);
33
37 public override bool CreateMultiplePages => false;
38
40 public override bool SupportTextPlaceholders => true;
41
43 public override bool SupportTablePlaceholders => false;
44
49 public override IAnalyticsModule[] GetItems()
50 {
51 return _analyticsModules.ToArray();
52 }
53 }
54
55}
override DocumentCreationTypes DocumentType
Gets the type of document this strategy creates.
DocumentStrategyAnalytics(IEnumerable< IAnalyticsModule > analyticsModules, IWorkspaceService workspaceService, IServiceProvider serviceProvider)
Constructor for the document strategy for an overview list.
override IAnalyticsModule[] GetItems()
Return a list of all IAnalyticsModule items.
override string TemplatePath
Gets the path to the template used for creating the document.
override bool SupportTablePlaceholders
Indicating if DocXPlaceholderHelper.TablePlaceholders are supported.If CreateMultiplePages is false,...
override bool SupportTextPlaceholders
Indicating if DocXPlaceholderHelper.TextPlaceholders are supported.If CreateMultiplePages is true,...
DocumentStrategyBase(IWorkspaceService workspaceService, IServiceProvider serviceProvider)
Constructor for the document strategy base class.
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.
Interface for a service used to manage a workspace.
DocumentCreationTypes
Different types of documents that can be created.