net7.0
namespace Microsoft.Maui.Controls
{
    [Obsolete("We recommend migrating to `CommunityToolkit.MVVM.WeakReferenceMessenger`: https://www.nuget.org/packages/CommunityToolkit.Mvvm")]
    public class MessagingCenter : IMessagingCenter
    {
        public static void Subscribe<TSender, TArgs>(object subscriber, string message, Action<TSender, TArgs> callback, TSender source = null)
            where TSender, class;
    }
}
.NET 6.07.0
Information specific to net7.0
Assembly

Microsoft.Maui.Controls , Version=1.0.0.0, PublicKeyToken=

Referencing

Requires all:

  • You need to have the workload maui installed.

  • Your project needs to set <UseMaui>True</UseMaui>.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

11/22/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙