add assembly display name attribute
7e426c98
Michael Schmitz
committed
failed
2 changed files
DisplayNameAttribute.cs
/WPE.App.Modules.Base/Attributes/DisplayNameAttribute.cs+16
/WPE.App.Modules.Base/Attributes/DisplayNameAttribute.cs
Add comment 1 Plus  namespace Infsoft.WPE.App.Modules.Base.Attributes
Add comment 2 Plus  {
Add comment 3 Plus   /// <summary>
Add comment 4 Plus   /// Used to configure, how to display the assembly in LocAware
Add comment 5 Plus   /// </summary>
Add comment 6 Plus   /// <param name="displayName">Display name inside the CMS (LocAware)</param>
Add comment 7 Plus   [AttributeUsage(AttributeTargets.Assembly)]
Add comment 8 Plus   public class DisplayNameAttribute(string displayName) : Attribute
Add comment 9 Plus   {
Add comment 10 Plus   /// <summary>
Add comment 11 Plus   /// Display name inside the CMS (LocAware)
Add comment 12 Plus   /// </summary>
Add comment 13 Plus   public string DisplayName => displayName;
Add comment 14 Plus   }
Add comment 15 Plus  }
Add comment 16 Plus  
WPE.App.Modules.Base.csproj
/WPE.App.Modules.Base/WPE.App.Modules.Base.csproj-1+1
/WPE.App.Modules.Base/WPE.App.Modules.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>0.1.2</Version>
Add comment 18 Plus   <Version>0.1.3</Version>
Add comment 19 <WarningsAsErrors>RZ10012</WarningsAsErrors>
Add comment 20 </PropertyGroup>
Add comment 21