C# Class NBench.Sdk.DomainManager

Handles the creation and unloading of AppDomains used for each test file
Afficher le fichier Open project: petabridge/NBench Class Usage Examples

Méthodes publiques

Méthode Description
CreateDomain ( TestPackage package ) : AppDomain

Creates a new AppDomain for running the test package

UnloadDomain ( AppDomain domain ) : void

Unloads the test runner app domain.

Private Methods

Méthode Description
CreateAppDomainSetup ( TestPackage package ) : AppDomainSetup

Creates a new AppDomainSetup

Method Details

CreateDomain() public static méthode

Creates a new AppDomain for running the test package
public static CreateDomain ( TestPackage package ) : AppDomain
package TestPackage The test package to be run
Résultat System.AppDomain

UnloadDomain() public static méthode

Unloads the test runner app domain.
public static UnloadDomain ( AppDomain domain ) : void
domain System.AppDomain The domain to unload.
Résultat void