Closed andrebaltieri closed 3 years ago
Add a new method to add notifications by passing its type and message.
public void AddNotification(Type property, string message) { _notifications.Add(new Notification(property?.Name, message)); }
AddNotification(typeof(Name), "Message");
Done https://github.com/andrebaltieri/Flunt/blob/dev/Flunt/Notifications/Notifiable.cs
Add a new method to add notifications by passing its type and message.
How to use