C# Class Sql2Growl.Utility

ファイルを表示 Open project: knippers/sql2growl

Public Methods

Method Description
ExecuteInstallUtil ( bool p_install, string p_username, string p_password ) : string

Execute the .NET service install tool to install or uninstall a .NET service

IsServiceInstalled ( string p_serviceName ) : bool
MoveFile ( string p_from, string p_to ) : void
SetExecutingAssembly ( Type p_type ) : void
SetLogTreshold ( string p_level ) : void
SetupLog4Net ( bool p_logToConsole ) : log4net.ILog

Setup a log4net log object

Sleep ( int p_millisecondsTimeout ) : void

Method Details

ExecuteInstallUtil() public static method

Execute the .NET service install tool to install or uninstall a .NET service
public static ExecuteInstallUtil ( bool p_install, string p_username, string p_password ) : string
p_install bool
p_username string
p_password string
return string

IsServiceInstalled() public static method

public static IsServiceInstalled ( string p_serviceName ) : bool
p_serviceName string
return bool

MoveFile() public static method

public static MoveFile ( string p_from, string p_to ) : void
p_from string
p_to string
return void

SetExecutingAssembly() public static method

public static SetExecutingAssembly ( Type p_type ) : void
p_type System.Type
return void

SetLogTreshold() public static method

public static SetLogTreshold ( string p_level ) : void
p_level string
return void

SetupLog4Net() public static method

Setup a log4net log object
public static SetupLog4Net ( bool p_logToConsole ) : log4net.ILog
p_logToConsole bool
return log4net.ILog

Sleep() public static method

public static Sleep ( int p_millisecondsTimeout ) : void
p_millisecondsTimeout int
return void