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

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

Public Methods

Method 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 method

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

GetEnvironmentVariable() public method

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