mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Added instant notification framework
This commit is contained in:
parent
eaaf464d38
commit
5ab07d7028
29 changed files with 697 additions and 555 deletions
25
NzbDrone.Web/Models/NotificationResult.cs
Normal file
25
NzbDrone.Web/Models/NotificationResult.cs
Normal file
|
@ -0,0 +1,25 @@
|
|||
namespace NzbDrone.Web.Models
|
||||
{
|
||||
public class NotificationResult
|
||||
{
|
||||
public NotificationResult()
|
||||
{
|
||||
Text = string.Empty;
|
||||
}
|
||||
|
||||
public bool IsMessage { get { return true; } }
|
||||
|
||||
public string Title { get; set; }
|
||||
public string Text { get; set; }
|
||||
public NotificationType NotificationType { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
public enum NotificationType
|
||||
{
|
||||
Info,
|
||||
Error
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue