CSharpTest.Net
AssemblyRunner Class Members
See Also  Properties  Methods  Events Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Processes Namespace : AssemblyRunner Class


Glossary Item Box

The following tables list the members exposed by AssemblyRunner.

Public Constructors

 NameDescription
Public ConstructorAssemblyRunner ConstructorConstructs the AppDomain for the given executable by using it's path for the base directory and configuraiton file.  
Top

Public Properties

 NameDescription
Public PropertyExitCodeWaits for the process to exit and returns the exit code  
Public PropertyIsDisposedReturns true if this object's worker domain has been unloaded.  
Public PropertyIsRunningReturns true if this instance is running a process  
Public PropertyWorkingDirectoryGets or sets the initial working directory for the process.  
Top

Public Methods

 NameDescription
Public MethodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.  
Public MethodKillKills the process if it is still running  
Public MethodRunOverloaded. Runs the process and returns the exit code.  
Public MethodStartOverloaded. Starts the process and returns.  
Public MethodToStringReturns a debug-view string of process/arguments to execute  
Public MethodWaitForExitOverloaded. Closes std::in and waits for the process to exit  
Top

Protected Methods

 NameDescription
Protected MethodFinalizeEnsures clean-up of the app domain... This has to be pushed off of the GC Cleanup thread as AppDoamin.Unload will fail on GC thread.  
Top

Public Events

 NameDescription
Public EventOutputReceivedNotifies caller of writes to the std::err or std::out  
Public EventProcessExitedNotifies caller when the process exits  
Top

See Also

Generated with Document! X 2011 by Innovasys