NZBDash.Services.Monitor.Notification.Notifier.Notifier C# (CSharp) Method

Notifier() public method

public Notifier ( System.TimeSpan interval, IEventService eventService, ISmtpClient client, IFile file, ILogger logger, AlertTypeDto type ) : System
interval System.TimeSpan
eventService IEventService
client ISmtpClient
file IFile
logger ILogger
type AlertTypeDto
return System
        public Notifier(TimeSpan interval, IEventService eventService, ISmtpClient client, IFile file, ILogger logger, AlertTypeDto type)
        {
            Interval = interval;
            EventService = eventService;
            SmtpClient = client;
            File = file;
            Logger = logger;
            Sendy = new EmailSender(file, logger, client);
            AlertType = type;
        }