remove query param interface, use supplyParameterFromQuery instead
2992c60f
Michael Schmitz
committed
succeeded
4 changed files
AppAttribute.cs
/WPE.App.Base/AppAttribute.cs-2+1
/WPE.App.Base/AppAttribute.cs
Add comment 6 /// <remarks>
Add comment 7 /// To use this attribute the following interfaces must be implemented:
Add comment 8 /// <list type="bullet">
Add comment 9 Minus   /// <item><see cref="IQueryParameters"/> Provides any additional query parameters of the current URL</item>
Add comment 10 9 /// <item><see cref="ISubscriptionParameter"/> Provides the component with the subscription its called for</item>
Add comment 11 10 /// <item><see cref="INameParameter"/> Provides the outside wrapper with a name to set as page title </item>
Add comment 12 11 /// </list>
Add comment 15 14 /// </remarks>
Add comment 16 15 /// <param name="displayName">Display name inside the CMS (LocAware)</param>
Add comment 17 16 /// <param name="identifier">Identifier of component</param>
Add comment 18 Minus   public class AppAttribute(string displayName, string identifier) : BaseAttribute(displayName, identifier, [typeof(IQueryParameters), typeof(ISubscriptionParameter), typeof(INameParameter)])
Add comment 17 Plus   public class AppAttribute(string displayName, string identifier) : BaseAttribute(displayName, identifier, [typeof(ISubscriptionParameter), typeof(INameParameter)])
Add comment 19 18 {
Add comment 20 19 }
Add comment 21 20 }
IQueryParameters.cs
/WPE.App.Base/IQueryParameters.cs-16
/WPE.App.Base/IQueryParameters.cs
Add comment 1 Minus  namespace Infsoft.WPE.App.Base
Add comment 2 Minus  {
Add comment 3 Minus   /// <summary>
Add comment 4 Minus   /// Required properties every app has to implement
Add comment 5 Minus   ///
Add comment 6 Minus   /// These are set by the application on every instantiation
Add comment 7 Minus   /// </summary>
Add comment 8 Minus   public interface IQueryParameters
Add comment 9 Minus   {
Add comment 10 Minus   /// <summary>
Add comment 11 Minus   /// Query parameters of current page
Add comment 12 Minus   /// </summary>
Add comment 13 Minus   public Dictionary<string, string> QueryParameters { get; set; }
Add comment 14 Minus   }
Add comment 15 Minus  }
Add comment 16 Minus  
WPE.App.Base.csproj
/WPE.App.Base/WPE.App.Base.csproj-2+2
/WPE.App.Base/WPE.App.Base.csproj
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-next02</Version>
Add comment 18 Plus   <Version>1.0.0-next03</Version>
Add comment 19 </PropertyGroup>
Add comment 20
Add comment 21 <ItemGroup>
Add comment 22 <PackageReference Include="Autofac" Version="8.0.0" />
Add comment 23 Minus   <PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.4" />
Add comment 23 Plus   <PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.5" />
Add comment 24 </ItemGroup>
Add comment 25
Add comment 26 <ItemGroup>
ReadMe.md
/ReadMe.md
/ReadMe.md