C# 클래스 OakBot.Utils

파일 보기 프로젝트 열기: ocgineer/OakBot

공개 프로퍼티들

프로퍼티 타입 설명
botHttp SimpleHTTPServer

공개 메소드들

메소드 설명
AddToViewersCol ( string viewerName ) : void

Add the viewer as Viewer to the viewers collection. Creates a new Viewer and adds it to the database if needed.

ClearFolder ( DirectoryInfo folder ) : void
GetClient ( ) : TwitchAuthenticatedClient
GetTwitchAlertsAuthToken ( string absoluteUrl ) : string
GetTwitchAuthToken ( string absoluteUrl ) : string
HideScriptErrors ( System.Windows.Controls.WebBrowser wb, bool hide ) : void
RemoveFromViewersCol ( string viewerName ) : void

Removes the viewer from the viewers collection.

StartWebserver ( ) : void
SuppressWininetBehavior ( ) : void
clearIECache ( ) : void
getIdFromYouTube ( string youtube ) : string
getTitleFromYouTube ( string link ) : string

비공개 메소드들

메소드 설명
InternetSetOption ( IntPtr hInternet, int dwOption, IntPtr lpBuffer, int lpdwBufferLength ) : bool

메소드 상세

AddToViewersCol() 공개 정적인 메소드

Add the viewer as Viewer to the viewers collection. Creates a new Viewer and adds it to the database if needed.
public static AddToViewersCol ( string viewerName ) : void
viewerName string Viewers Twitch username to add
리턴 void

ClearFolder() 공개 정적인 메소드

public static ClearFolder ( DirectoryInfo folder ) : void
folder System.IO.DirectoryInfo
리턴 void

GetClient() 공개 정적인 메소드

public static GetClient ( ) : TwitchAuthenticatedClient
리턴 OakBot.Clients.TwitchAuthenticatedClient

GetTwitchAlertsAuthToken() 공개 정적인 메소드

public static GetTwitchAlertsAuthToken ( string absoluteUrl ) : string
absoluteUrl string
리턴 string

GetTwitchAuthToken() 공개 정적인 메소드

public static GetTwitchAuthToken ( string absoluteUrl ) : string
absoluteUrl string
리턴 string

HideScriptErrors() 공개 정적인 메소드

public static HideScriptErrors ( System.Windows.Controls.WebBrowser wb, bool hide ) : void
wb System.Windows.Controls.WebBrowser
hide bool
리턴 void

RemoveFromViewersCol() 공개 정적인 메소드

Removes the viewer from the viewers collection.
public static RemoveFromViewersCol ( string viewerName ) : void
viewerName string Viewers Twitch username to remove
리턴 void

StartWebserver() 공개 정적인 메소드

public static StartWebserver ( ) : void
리턴 void

SuppressWininetBehavior() 공개 정적인 메소드

public static SuppressWininetBehavior ( ) : void
리턴 void

clearIECache() 공개 정적인 메소드

public static clearIECache ( ) : void
리턴 void

getIdFromYouTube() 공개 정적인 메소드

public static getIdFromYouTube ( string youtube ) : string
youtube string
리턴 string

getTitleFromYouTube() 공개 정적인 메소드

public static getTitleFromYouTube ( string link ) : string
link string
리턴 string

프로퍼티 상세

botHttp 공개적으로 정적으로 프로퍼티

public static SimpleHTTPServer,OakBot botHttp
리턴 SimpleHTTPServer