3 changed files
WPE.App.Base | ||
IPoIComponentProvider.cs | ||
WPE.App.Base.csproj | ||
ReadMe.md | ||
IPoIComponentProvider.cs
/WPE.App.Base/IPoIComponentProvider.cs-19/WPE.App.Base/IPoIComponentProvider.cs
Add comment 1 Minus namespace Infsoft.WPE.App.Base
Add comment 2 Minus {
Add comment 3 Minus /// <summary>
Add comment 4 Minus /// Allows access to PoI components and buttons available in loaded assemblies
Add comment 5 Minus /// </summary>
Add comment 6 Minus public interface IPoIComponentProvider
Add comment 7 Minus {
Add comment 8 Minus /// <summary>
Add comment 9 Minus /// Components for a specific PoI
Add comment 10 Minus /// </summary>
Add comment 11 Minus Dictionary<string, Type> PoIComponents { get; }
Add comment 12 Minus
Add comment 13 Minus /// <summary>
Add comment 14 Minus /// Button to show on a PoI
Add comment 15 Minus /// </summary>
Add comment 16 Minus Dictionary<string, IPoIButton> PoIButtons { get; }
Add comment 17 Minus }
Add comment 18 Minus }
Add comment 19 Minus
Add comment 15 <PackageIcon>icon.png</PackageIcon>
Add comment 16 <PackageReadmeFile>ReadMe.md</PackageReadmeFile>
Add comment 17 <PackageTags>WPE;Workplace Experience;Blazor;MAUI;infsoft</PackageTags>
Add comment 18 Minus <Version>1.0.0-next26</Version>
Add comment 18 Plus <Version>1.0.0-next27</Version>
Add comment 19 <GenerateDocumentationFile>true</GenerateDocumentationFile>
Add comment 20 </PropertyGroup>
Add comment 21
Add comment 37 On any given PoI additional buttons can be displayed,
Add comment 38 if you wish to provide such an button implement the [**IPoIButton**](WPE.App.Base/IPoIButton.cs) interface and annotate your class with the [**PoIButton**](WPE.App.Base/PoIButtonAttribute.cs) attribute.
Add comment 39 Buttons are shown above any of the **PoI** components.
Add comment 40 Minus They are available via [IPoIComponentProvider](WPE.App.Base/IPoIComponentProvider.cs).
Add comment 41 40
Add comment 42 41 ## Defining Route mappings
Add comment 43 42 This section is only relevant for the web application, native apps will ignore the mappings.