C# Class SIPSorcery.SIP.App.ScriptLoader

Loads a script file, compiles it and watches it for any changes.
Datei anzeigen Open project: sipsorcery/sipsorcery Class Usage Examples

Public Methods

Method Description
GetCompiledScript ( ) : Microsoft.Scripting.Hosting.CompiledCode
GetText ( ) : string
ScriptLoader ( SIPMonitorLogDelegate monitorLogger, string scriptPath ) : System

Private Methods

Method Description
GetScriptType ( string scriptFileName ) : ScriptTypesEnum
ScriptChanged ( object sender, FileSystemEventArgs e ) : void

Method Details

GetCompiledScript() public method

public GetCompiledScript ( ) : Microsoft.Scripting.Hosting.CompiledCode
return Microsoft.Scripting.Hosting.CompiledCode

GetText() public method

public GetText ( ) : string
return string

ScriptLoader() public method

public ScriptLoader ( SIPMonitorLogDelegate monitorLogger, string scriptPath ) : System
monitorLogger SIPMonitorLogDelegate
scriptPath string
return System