C# Class PseudoTV_Manager.PseudoTvUtils

Mostrar archivo Open project: PseudoTV/PseudoTV_Manager

Public Methods

Method Description
ConvertGenres ( ListBox genrelist ) : string
DbExecute ( string SQLQuery ) : void
DbReadRecord ( string dbLocation, string sqlStatement, int ColumnArray ) : string[]
GetKodiVersion ( string videoDbFileName ) : KodiVersion
IsNumeric ( string input ) : bool
LookUpGenre ( string genreName ) : int
LookUpNetwork ( string network ) : string
PluginExecute ( string SQLQuery ) : void
ReadFile ( string filePath ) : string
ReadPluginRecord ( string dbLocation, string sqlStatement, int columnArray ) : string[]
SaveFile ( string filePath, string Data ) : void
ShowInputDialog ( string question, string inputTxt = null ) : InputDialogResponse
TestMySql ( string connectionstring ) : bool
TestMySqlLite ( string connectionstring ) : bool
TestMysql2 ( string DBLocation, string sqlStatement, string ColumnArray ) : object

Method Details

ConvertGenres() public static method

public static ConvertGenres ( ListBox genrelist ) : string
genrelist System.Windows.Forms.ListBox
return string

DbExecute() public static method

public static DbExecute ( string SQLQuery ) : void
SQLQuery string
return void

DbReadRecord() public static method

public static DbReadRecord ( string dbLocation, string sqlStatement, int ColumnArray ) : string[]
dbLocation string
sqlStatement string
ColumnArray int
return string[]

GetKodiVersion() public static method

public static GetKodiVersion ( string videoDbFileName ) : KodiVersion
videoDbFileName string
return KodiVersion

IsNumeric() public static method

public static IsNumeric ( string input ) : bool
input string
return bool

LookUpGenre() public static method

public static LookUpGenre ( string genreName ) : int
genreName string
return int

LookUpNetwork() public static method

public static LookUpNetwork ( string network ) : string
network string
return string

PluginExecute() public static method

public static PluginExecute ( string SQLQuery ) : void
SQLQuery string
return void

ReadFile() public static method

public static ReadFile ( string filePath ) : string
filePath string
return string

ReadPluginRecord() public static method

public static ReadPluginRecord ( string dbLocation, string sqlStatement, int columnArray ) : string[]
dbLocation string
sqlStatement string
columnArray int
return string[]

SaveFile() public static method

public static SaveFile ( string filePath, string Data ) : void
filePath string
Data string
return void

ShowInputDialog() public static method

public static ShowInputDialog ( string question, string inputTxt = null ) : InputDialogResponse
question string
inputTxt string
return PseudoTV_Manager.Forms.InputDialogResponse

TestMySql() public static method

public static TestMySql ( string connectionstring ) : bool
connectionstring string
return bool

TestMySqlLite() public static method

public static TestMySqlLite ( string connectionstring ) : bool
connectionstring string
return bool

TestMysql2() public static method

public static TestMysql2 ( string DBLocation, string sqlStatement, string ColumnArray ) : object
DBLocation string
sqlStatement string
ColumnArray string
return object