C# Class csscript.RemoteExecutor

Invokes static method 'Main' from the assembly.
Inheritance: System.MarshalByRefObject
Exibir arquivo Open project: oleg-shilo/cs-script Class Usage Examples

Public Properties

Property Type Description
searchDirs string[]

Public Methods

Method Description
ExecuteAssembly ( string filename, string args ) : void
ExecuteAssembly ( string filename, string args, SystemWideLock asmLock ) : void
InvokeStaticMain ( Assembly compiledAssembly, string scriptArgs ) : void
RemoteExecutor ( ) : System
RemoteExecutor ( string searchDirs ) : System
ResolveEventHandler ( object sender, ResolveEventArgs args ) : Assembly

AppDomain event handler. This handler will be called if CLR cannot resolve referenced local assemblies

ResolveResEventHandler ( object sender, ResolveEventArgs args ) : Assembly

Private Methods

Method Description
SetScriptReflection ( Assembly assembly, string location ) : void

Method Details

ExecuteAssembly() public method

public ExecuteAssembly ( string filename, string args ) : void
filename string
args string
return void

ExecuteAssembly() public method

public ExecuteAssembly ( string filename, string args, SystemWideLock asmLock ) : void
filename string
args string
asmLock SystemWideLock
return void

InvokeStaticMain() public method

public InvokeStaticMain ( Assembly compiledAssembly, string scriptArgs ) : void
compiledAssembly System.Reflection.Assembly
scriptArgs string
return void

RemoteExecutor() public method

public RemoteExecutor ( ) : System
return System

RemoteExecutor() public method

public RemoteExecutor ( string searchDirs ) : System
searchDirs string
return System

ResolveEventHandler() public method

AppDomain event handler. This handler will be called if CLR cannot resolve referenced local assemblies
public ResolveEventHandler ( object sender, ResolveEventArgs args ) : Assembly
sender object
args System.ResolveEventArgs
return System.Reflection.Assembly

ResolveResEventHandler() public method

public ResolveResEventHandler ( object sender, ResolveEventArgs args ) : Assembly
sender object
args System.ResolveEventArgs
return System.Reflection.Assembly

Property Details

searchDirs public_oe property

public string[] searchDirs
return string[]