C# Class Headless.IntegrationTests.IisExpress

The IisExpress class is used to manage an IIS Express instance for running integration tests.
Inheritance: IDisposable
显示文件 Open project: roryprimrose/Headless Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Start ( string directoryPath, int port, Uri address ) : void

Starts IIS Express using the specified directory path and port.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Private Methods

Method Description
DetermineIisExpressPath ( ) : string

Determines the IIS express path.

SendStopMessageToProcess ( int processId ) : void

The send stop message to process.

StartIisExpress ( ProcessStartInfo info ) : void

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool /// true to release both managed and unmanaged resources; false to release only unmanaged resources. ///
return void

Start() public method

Starts IIS Express using the specified directory path and port.
public Start ( string directoryPath, int port, Uri address ) : void
directoryPath string /// The directory path. ///
port int /// The port. ///
address System.Uri /// The address. ///
return void