C# Class Sql2Growl.Utility

Afficher le fichier Open project: knippers/sql2growl

Méthodes publiques

Méthode 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 méthode

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
Résultat string

IsServiceInstalled() public static méthode

public static IsServiceInstalled ( string p_serviceName ) : bool
p_serviceName string
Résultat bool

MoveFile() public static méthode

public static MoveFile ( string p_from, string p_to ) : void
p_from string
p_to string
Résultat void

SetExecutingAssembly() public static méthode

public static SetExecutingAssembly ( Type p_type ) : void
p_type System.Type
Résultat void

SetLogTreshold() public static méthode

public static SetLogTreshold ( string p_level ) : void
p_level string
Résultat void

SetupLog4Net() public static méthode

Setup a log4net log object
public static SetupLog4Net ( bool p_logToConsole ) : log4net.ILog
p_logToConsole bool
Résultat log4net.ILog

Sleep() public static méthode

public static Sleep ( int p_millisecondsTimeout ) : void
p_millisecondsTimeout int
Résultat void