Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MvvmLight style NotificationMessage<T> for Microsoft.Toolkit.Mvvm
namespace Microsoft.Toolkit.Mvvm.Messaging.Messages
{
public sealed class NotificationMessage<T>
{
public NotificationMessage(T content, string notification)
{
Content = content;
Notification = notification;
}
public T Content { get; }
public string Notification { get; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment