C# 클래스 HA4IoT.Notifications.NotificationService

상속: HA4IoT.Contracts.Services.ServiceBase, INotificationService
파일 보기 프로젝트 열기: chkr1011/CK.HomeAutomation 1 사용 예제들

공개 메소드들

메소드 설명
Create ( NotificationType type, string message, System.TimeSpan timeToLive ) : void
CreateError ( string text ) : void
CreateInformation ( Enum resourceId ) : void
CreateInformation ( string text ) : void
CreateWarning ( string text ) : void
Initialize ( ) : void
NotificationService ( IDateTimeService dateTimeService, IApiService apiService, ISchedulerService schedulerService, ISettingsService settingsService, IStorageService storageService, IResourceService resourceService ) : System

비공개 메소드들

메소드 설명
Cleanup ( ) : void
Delete ( IApiContext apiContext ) : void
HandleApiStatusRequest ( object sender, ApiRequestReceivedEventArgs e ) : void
SaveNotifications ( ) : void
TryLoadNotifications ( ) : void

메소드 상세

Create() 공개 메소드

public Create ( NotificationType type, string message, System.TimeSpan timeToLive ) : void
type NotificationType
message string
timeToLive System.TimeSpan
리턴 void

CreateError() 공개 메소드

public CreateError ( string text ) : void
text string
리턴 void

CreateInformation() 공개 메소드

public CreateInformation ( Enum resourceId ) : void
resourceId System.Enum
리턴 void

CreateInformation() 공개 메소드

public CreateInformation ( string text ) : void
text string
리턴 void

CreateWarning() 공개 메소드

public CreateWarning ( string text ) : void
text string
리턴 void

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

NotificationService() 공개 메소드

public NotificationService ( IDateTimeService dateTimeService, IApiService apiService, ISchedulerService schedulerService, ISettingsService settingsService, IStorageService storageService, IResourceService resourceService ) : System
dateTimeService IDateTimeService
apiService IApiService
schedulerService ISchedulerService
settingsService ISettingsService
storageService IStorageService
resourceService IResourceService
리턴 System