mirror of
https://github.com/PrismLibrary/Prism.git
synced 2026-10-29 13:38:03 +08:00
chore: use explicit ContentProperty
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
|
||||
@@ -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).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user