C# Class Nekobot.Image.Board

Exibir arquivo Open project: Kusoneko/Nekobot

Public Properties

Property Type Description
Link string
Post string
Resource string

Public Methods

Method Description
Common ( string resource, bool json ) : JToken
Execute ( string booru, Commands e ) : System.Threading.Tasks.Task
Get ( string booru, string tags ) : Board
GetImageLink ( int rnd ) : string
GetPostCount ( ) : int

Private Methods

Method Description
A ( string link, bool needs_http = false, bool shorten = false ) : Board
B ( string link, bool shorten = true, Type type = Type.B ) : Board
Board ( string link, string resource, string post, Type type, bool shorten ) : System
GetFileUrl ( JToken res, string prefix ) : string
Sankaku ( string board ) : Board

Method Details

Common() public method

public Common ( string resource, bool json ) : JToken
resource string
json bool
return JToken

Execute() public static method

public static Execute ( string booru, Commands e ) : System.Threading.Tasks.Task
booru string
e Commands
return System.Threading.Tasks.Task

Get() public static method

public static Get ( string booru, string tags ) : Board
booru string
tags string
return Board

GetImageLink() public method

public GetImageLink ( int rnd ) : string
rnd int
return string

GetPostCount() public method

public GetPostCount ( ) : int
return int

Property Details

Link public_oe property

public string Link
return string

Post public_oe property

public string Post
return string

Resource public_oe property

public string Resource
return string