C# Класс Helpmebot.Monitoring.CategoryWatcher

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

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

Метод Описание
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