C# Class wmib.Labs

Inheritance: wmib.Module
Exibir arquivo Open project: benapetr/wikimedia-bot

Public Properties

Property Type Description
Instances List
LastUpdate System.DateTime
OK bool
ProjectList List

Public Methods

Method Description
Construct ( ) : bool
Hook_OnPrivateFromUser ( string message, libirc user ) : bool
Hook_OnUnload ( ) : bool
Hook_PRIV ( Channel channel, libirc invoker, string message ) : void
JSON ( ) : void
Load ( ) : void
Validator ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool
deleteInstance ( Instance instance ) : void
getInstance ( string project ) : Instance
getNumbers ( string user ) : int
getProject ( string project ) : Nova
getProjects ( string user ) : string
getProjectsList ( string host ) : string
getValue ( JsonTextReader &b, bool silent = false ) : string
resolve ( string name ) : Instance
time ( ) : System.TimeSpan

Private Methods

Method Description
Download ( string file, string where ) : bool

Method Details

Construct() public method

public Construct ( ) : bool
return bool

Hook_OnPrivateFromUser() public method

public Hook_OnPrivateFromUser ( string message, libirc user ) : bool
message string
user libirc
return bool

Hook_OnUnload() public method

public Hook_OnUnload ( ) : bool
return bool

Hook_PRIV() public method

public Hook_PRIV ( Channel channel, libirc invoker, string message ) : void
channel Channel
invoker libirc
message string
return void

JSON() public method

public JSON ( ) : void
return void

Load() public method

public Load ( ) : void
return void

Validator() public static method

public static Validator ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool
sender object
certificate System.Security.Cryptography.X509Certificates.X509Certificate
chain System.Security.Cryptography.X509Certificates.X509Chain
sslPolicyErrors SslPolicyErrors
return bool

deleteInstance() public static method

public static deleteInstance ( Instance instance ) : void
instance Instance
return void

getInstance() public static method

public static getInstance ( string project ) : Instance
project string
return Instance

getNumbers() public static method

public static getNumbers ( string user ) : int
user string
return int

getProject() public static method

public static getProject ( string project ) : Nova
project string
return Nova

getProjects() public static method

public static getProjects ( string user ) : string
user string
return string

getProjectsList() public method

public getProjectsList ( string host ) : string
host string
return string

getValue() public method

public getValue ( JsonTextReader &b, bool silent = false ) : string
b Newtonsoft.Json.JsonTextReader
silent bool
return string

resolve() public method

public resolve ( string name ) : Instance
name string
return Instance

time() public method

public time ( ) : System.TimeSpan
return System.TimeSpan

Property Details

Instances public_oe static_oe property

public static List Instances
return List

LastUpdate public_oe static_oe property

public static DateTime,System LastUpdate
return System.DateTime

OK public_oe static_oe property

public static bool OK
return bool

ProjectList public_oe static_oe property

public static List ProjectList
return List