C# Class BlueCollar.MachineProxy

Provides proxy access to a Machine instance across application domain boundaries.
Inheritance: System.MarshalByRefObject, IDisposable
Datei anzeigen Open project: ChadBurggraf/blue-collar

Public Methods

Method Description
MachineProxy ( ILogger logger, string binPath ) : System

Initializes a new instance of the MachineProxy class.

MachineProxy ( ILogger logger, string binPath, bool force ) : System

Initializes a new instance of the MachineProxy class.

Private Methods

Method Description
Dispose ( ) : void
Dispose ( bool force ) : void
Dispose ( bool force, bool disposing ) : void

Disposes of resources used by this instance.

DisposeHttpApplication ( ) : void

Disposes of the HTTP applications that was created as an entry point.

InvokeEventHandler ( object instance, MethodInfo method ) : void

Invokes the event handler identified by the given method on the given instance.

SetupandInvokeEntryPoint ( ILogger logger, string binPath ) : void

Sets up and invokes an entry point on an HttpApplication implementer found by probing the given bin path.

Method Details

MachineProxy() public method

Initializes a new instance of the MachineProxy class.
public MachineProxy ( ILogger logger, string binPath ) : System
logger ILogger The logger to use when logging messages.
binPath string The path to use when probing for application assemblies.
return System

MachineProxy() public method

Initializes a new instance of the MachineProxy class.
public MachineProxy ( ILogger logger, string binPath, bool force ) : System
logger ILogger The logger to use when logging messages.
binPath string The path to use when probing for application assemblies.
force bool A value indicating whether to force the machine, even if is false.
return System