C# Class wmib.GenericCommand

Afficher le fichier Open project: benapetr/wikimedia-bot Class Usage Examples

Méthodes publiques

Свойство Type Description
Module string
SilentErrors bool

Méthodes publiques

Méthode Description
GenericCommand ( string name_, Action function ) : System
GenericCommand ( string name_, Action function, bool ignorable, string permissions = null, bool channel = true, bool silent = false ) : System
Launch ( CommandParams parameter ) : void

Method Details

GenericCommand() public méthode

public GenericCommand ( string name_, Action function ) : System
name_ string
function Action
Résultat System

GenericCommand() public méthode

public GenericCommand ( string name_, Action function, bool ignorable, string permissions = null, bool channel = true, bool silent = false ) : System
name_ string
function Action
ignorable bool
permissions string
channel bool
silent bool
Résultat System

Launch() public méthode

public Launch ( CommandParams parameter ) : void
parameter CommandParams
Résultat void

Property Details

Module public_oe property

public string Module
Résultat string

SilentErrors public_oe property

public bool SilentErrors
Résultat bool