C# 클래스 Helpmebot.Monitoring.CategoryWatcher

Category watcher thread
상속: IThreadedSystem
파일 보기 프로젝트 열기: helpmebot/helpmebot 1 사용 예제들

공개 메소드들

메소드 설명
CategoryWatcher ( Helpmebot.Model.WatchedCategory category, IMediaWikiSiteRepository mediaWikiSiteRepository, IIgnoredPagesRepository ignoredPagesRepository, ILogger logger ) : System

Initialises a new instance of the CategoryWatcher class.

DoCategoryCheck ( ) : IEnumerable

The do category check.

GetThreadStatus ( ) : string[]

The get thread status.

RegisterInstance ( ) : void

The register instance.

Stop ( ) : void

The stop.

ToString ( ) : string

Returns a System.String that represents this instance.

비공개 메소드들

메소드 설명
RemoveBlacklistedItems ( IEnumerable pageList ) : IEnumerable

The remove blacklisted items.

WatcherThreadMethod ( ) : void

The watcher thread method.

메소드 상세

CategoryWatcher() 공개 메소드

Initialises a new instance of the CategoryWatcher class.
public CategoryWatcher ( Helpmebot.Model.WatchedCategory category, IMediaWikiSiteRepository mediaWikiSiteRepository, IIgnoredPagesRepository ignoredPagesRepository, ILogger logger ) : System
category Helpmebot.Model.WatchedCategory /// The category. ///
mediaWikiSiteRepository IMediaWikiSiteRepository /// The media Wiki Site Repository. ///
ignoredPagesRepository IIgnoredPagesRepository /// The ignored Pages Repository. ///
logger ILogger /// The logger. ///
리턴 System

DoCategoryCheck() 공개 메소드

The do category check.
public DoCategoryCheck ( ) : IEnumerable
리턴 IEnumerable

GetThreadStatus() 공개 메소드

The get thread status.
public GetThreadStatus ( ) : string[]
리턴 string[]

RegisterInstance() 공개 메소드

The register instance.
public RegisterInstance ( ) : void
리턴 void

Stop() 공개 메소드

The stop.
public Stop ( ) : void
리턴 void

ToString() 공개 메소드

Returns a System.String that represents this instance.
public ToString ( ) : string
리턴 string