C# Class Bot.Processors.UrlTitles

Inheritance: Bot.Core.Processors.AsyncProcessor
Afficher le fichier Open project: Crobol/Bot

Méthodes publiques

Méthode Description
UrlTitles ( List urlPatterns ) : System

Méthodes protégées

Méthode Description
ExtractUrls ( string message, Regex urlMatcher ) : IList
GetTitle ( string url ) : string
GetTitles ( IList urls, IList whitelist ) : IList
GetTitles ( string message, List whitelist ) : IList

Looks for URLs in message and prints out the inner text in the title element

GetTitles ( string message, Regex urlMatcher ) : IList

Looks for URLs in ircMessage and prints out the inner text in the title element

Worker ( IrcEventArgs e ) : void

Private Methods

Méthode Description
UrlTitles ( [ config ) : System

Method Details

ExtractUrls() protected méthode

protected ExtractUrls ( string message, Regex urlMatcher ) : IList
message string
urlMatcher System.Text.RegularExpressions.Regex
Résultat IList

GetTitle() protected méthode

protected GetTitle ( string url ) : string
url string
Résultat string

GetTitles() protected méthode

protected GetTitles ( IList urls, IList whitelist ) : IList
urls IList
whitelist IList
Résultat IList

GetTitles() protected méthode

Looks for URLs in message and prints out the inner text in the title element
protected GetTitles ( string message, List whitelist ) : IList
message string
whitelist List
Résultat IList

GetTitles() protected méthode

Looks for URLs in ircMessage and prints out the inner text in the title element
protected GetTitles ( string message, Regex urlMatcher ) : IList
message string
urlMatcher System.Text.RegularExpressions.Regex
Résultat IList

UrlTitles() public méthode

public UrlTitles ( List urlPatterns ) : System
urlPatterns List
Résultat System

Worker() protected méthode

protected Worker ( IrcEventArgs e ) : void
e Meebey.SmartIrc4net.IrcEventArgs
Résultat void