C# Class helpmebot6.Commands.Editcount

Returns the edit count of a Wikipedian
Inheritance: helpmebot6.Commands.GenericCommand
Afficher le fichier Open project: helpmebot/helpmebot Class Usage Examples

Méthodes publiques

Méthode Description
Editcount ( Helpmebot.Legacy.Model.LegacyUser source, string channel, string args, ICommandServiceHelper commandServiceHelper ) : System

Initialises a new instance of the Editcount class.

GetEditCount ( string username, string channel ) : int

Gets the edit count.

Méthodes protégées

Méthode Description
ExecuteCommand ( ) : Helpmebot.CommandResponseHandler

Actual command logic

Method Details

Editcount() public méthode

Initialises a new instance of the Editcount class.
public Editcount ( Helpmebot.Legacy.Model.LegacyUser source, string channel, string args, ICommandServiceHelper commandServiceHelper ) : System
source Helpmebot.Legacy.Model.LegacyUser /// The source. ///
channel string /// The channel. ///
args string /// The args. ///
commandServiceHelper ICommandServiceHelper /// The message Service. ///
Résultat System

ExecuteCommand() protected méthode

Actual command logic
protected ExecuteCommand ( ) : Helpmebot.CommandResponseHandler
Résultat Helpmebot.CommandResponseHandler

GetEditCount() public static méthode

Gets the edit count.
public static GetEditCount ( string username, string channel ) : int
username string /// The username to retrieve the edit count for. ///
channel string /// The channel the command was issued in. (Gets the correct base wiki) ///
Résultat int