C# Класс NZBDash.Services.Monitor.Notification.Notifier

Наследование: INotifier
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CheckSend void
ConvertEvent string
Reset void
SendEmail void

Открытые методы

Метод Описание
Notifier ( System.TimeSpan interval, IEventService eventService, ISmtpClient client, IFile file, ILogger logger, AlertTypeDto type ) : System
Notify ( bool critical ) : void
ResetCounter ( ) : void
SaveEvent ( ) : void

Приватные методы

Метод Описание
CheckSend ( ) : void
ConvertEvent ( AlertTypeDto type ) : string
Reset ( ) : void
SendEmail ( ) : void

Описание методов

Notifier() публичный Метод

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
Результат System

Notify() публичный Метод

public Notify ( bool critical ) : void
critical bool
Результат void

ResetCounter() публичный Метод

public ResetCounter ( ) : void
Результат void

SaveEvent() публичный Метод

public SaveEvent ( ) : void
Результат void