C# Class Helpmebot.Monitoring.CategoryWatcher

Category watcher thread
Inheritance: IThreadedSystem
ファイルを表示 Open project: helpmebot/helpmebot Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
RemoveBlacklistedItems ( IEnumerable pageList ) : IEnumerable

The remove blacklisted items.

WatcherThreadMethod ( ) : void

The watcher thread method.

Method Details

CategoryWatcher() public method

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. ///
return System

DoCategoryCheck() public method

The do category check.
public DoCategoryCheck ( ) : IEnumerable
return IEnumerable

GetThreadStatus() public method

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

RegisterInstance() public method

The register instance.
public RegisterInstance ( ) : void
return void

Stop() public method

The stop.
public Stop ( ) : void
return void

ToString() public method

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