C# Class Hardly.Library.Twitch.SqlTwitchChannel

Inheritance: SqlRow, TwitchChannel
Mostra file Open project: hardlydifficult/HardlyBot Class Usage Examples

Private Properties

Property Type Description
FromSql TwitchChannel

Public Methods

Method Description
ClearLiveFollowers ( TwitchChannel channel ) : void
GetAll ( ) : TwitchChannel[]
GetAllLiveFollowers ( TwitchChannel channel ) : TwitchChannel[]
SqlTwitchChannel ( TwitchUser user, bool isLive = false, string previewImageUrl = null, string game = null, uint liveViewers, uint totalViews, uint followers )

Private Methods

Method Description
FromSql ( object results ) : TwitchChannel

Method Details

ClearLiveFollowers() public static method

public static ClearLiveFollowers ( TwitchChannel channel ) : void
channel TwitchChannel
return void

GetAll() public static method

public static GetAll ( ) : TwitchChannel[]
return TwitchChannel[]

GetAllLiveFollowers() public static method

public static GetAllLiveFollowers ( TwitchChannel channel ) : TwitchChannel[]
channel TwitchChannel
return TwitchChannel[]

SqlTwitchChannel() public method

public SqlTwitchChannel ( TwitchUser user, bool isLive = false, string previewImageUrl = null, string game = null, uint liveViewers, uint totalViews, uint followers )
user TwitchUser
isLive bool
previewImageUrl string
game string
liveViewers uint
totalViews uint
followers uint