重构项目,将项目拆分(临时提交)
This commit is contained in:
17
DMS.WPF/Message/NotificationMessage.cs
Normal file
17
DMS.WPF/Message/NotificationMessage.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using CommunityToolkit.Mvvm.Messaging.Messages;
|
||||
using DMS.Core.Enums;
|
||||
|
||||
namespace DMS.Message;
|
||||
|
||||
public class NotificationMessage : ValueChangedMessage<string>
|
||||
{
|
||||
public NotificationMessage(string msg, NotificationType type = NotificationType.Info, bool isGlobal = false) :
|
||||
base(msg)
|
||||
{
|
||||
Type = type;
|
||||
IsGlobal = isGlobal;
|
||||
}
|
||||
|
||||
public NotificationType Type { get; set; }
|
||||
public bool IsGlobal { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user