initial commit from an older template
This commit is contained in:
33
Utils/Notification.cs
Executable file
33
Utils/Notification.cs
Executable file
@@ -0,0 +1,33 @@
|
||||
using System.Net.Mail;
|
||||
|
||||
namespace GamificationService.Utils;
|
||||
|
||||
public abstract class Notification
|
||||
{
|
||||
#region Fields
|
||||
|
||||
private string _title;
|
||||
private string _message;
|
||||
private NotificationInformationType _type;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Parameters
|
||||
|
||||
public string Title { get => _title;}
|
||||
public string Message { get => _message; }
|
||||
public NotificationInformationType Type { get => _type; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
|
||||
public Notification(NotificationInformationType type, string title, string message)
|
||||
{
|
||||
_type = type;
|
||||
_title = title;
|
||||
_message = message;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user