C# Class Microsoft.Silverlight.Testing.Service.EnvironmentProvider

A provider of environment variables and environmental information that uses the test service provider infrastructure.
Inheritance: ProviderBase
Afficher le fichier Open project: garyjohnson/wpnest

Méthodes publiques

Méthode Description
EnvironmentProvider ( TestServiceProvider testService ) : System

Initializes a new environment provider.

GetEnvironmentVariable ( string name, Action callback ) : void

Retrieve an environment variable from the system.

Method Details

EnvironmentProvider() public méthode

Initializes a new environment provider.
public EnvironmentProvider ( TestServiceProvider testService ) : System
testService TestServiceProvider The test service.
Résultat System

GetEnvironmentVariable() public méthode

Retrieve an environment variable from the system.
public GetEnvironmentVariable ( string name, Action callback ) : void
name string The variable name.
callback Action The callback action.
Résultat void