mirror of
https://github.com/Stone-Red-Code/HyperbolicDownloader.git
synced 2026-09-04 09:06:10 +02:00
- Resolve domains when adding a new host - Change `NotificationMessageType.Raw` to `NotificationMessageType.Info` - Fix wrong color when using the `info` command
21 lines
502 B
C#
21 lines
502 B
C#
namespace HyperbolicDownloaderApi.Managment;
|
|
|
|
public class NotificationMessageEventArgs : EventArgs
|
|
{
|
|
public NotificationMessageType NotificationMessageType { get; }
|
|
public string? Message { get; }
|
|
|
|
public NotificationMessageEventArgs(NotificationMessageType notificationMessageType, string? message)
|
|
{
|
|
NotificationMessageType = notificationMessageType;
|
|
Message = message;
|
|
}
|
|
}
|
|
|
|
public enum NotificationMessageType
|
|
{
|
|
Info,
|
|
Success,
|
|
Warning,
|
|
Error
|
|
} |