C# Класс Headless.IntegrationTests.IisExpress

The IisExpress class is used to manage an IIS Express instance for running integration tests.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Приватные методы

Метод Описание
DetermineIisExpressPath ( ) : string

Determines the IIS express path.

SendStopMessageToProcess ( int processId ) : void

The send stop message to process.

StartIisExpress ( ProcessStartInfo info ) : void

Описание методов

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

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. ///
Результат void

Start() публичный Метод

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. ///
Результат void