chore: use explicit ContentProperty

This commit is contained in:
Dan Siegel
2024-07-22 20:14:45 -06:00
parent 400d2f5304
commit 1efdbe3aef
2 changed files with 11 additions and 1 deletions
@@ -1,6 +1,15 @@
namespace Prism.Modularity;
namespace Prism.Modularity;
/// <summary>
/// The <see cref="ModuleCatalog"/> holds information about the modules that can be used by the
/// application. Each module is described in a <see cref="ModuleInfo"/> class, that records the
/// name and type of the module.
/// </summary>
#if PRISMUNO
[Microsoft.UI.Xaml.Markup.ContentProperty(Name = nameof(Items))]
#else
[ContentProperty(nameof(Items))]
#endif
public class ModuleCatalog : ModuleCatalogBase
{
+1
View File
@@ -8,6 +8,7 @@
<NoWarn>$(NoWarn);1591</NoWarn>
<PackageId>Prism.Uno.WinUI</PackageId>
<ImplicitUsings>true</ImplicitUsings>
<DefineConstants>$(DefineConstants);PRISMUNO</DefineConstants>
<Description>
Prism provides an implementation of a collection of design patterns that are helpful in writing well structured, maintainable, and testable XAML applications, including MVVM, dependency injection, commanding, event aggregation, and more. Prism's core functionality is a shared library targeting the .NET Framework and .NET. Features that need to be platform specific are implemented in the respective libraries for the target platform (WPF, Uno Platform, .NET MAUI and Xamarin Forms).