Created
July 14, 2021 11:29
-
-
Save peterfoot/c367224f201e178488cecd99110f5494 to your computer and use it in GitHub Desktop.
MvvmLight style NotificationMessage<T> for Microsoft.Toolkit.Mvvm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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