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

The base class for test service providers.
Afficher le fichier Open project: garyjohnson/wpnest

Méthodes publiques

Méthode Description
Initialize ( ) : void

Initializes the provider.

InvokeMethod ( string methodName ) : void

Invokes a method on this provider using reflection.

Méthodes protégées

Méthode Description
Callback ( Action action, ServiceResult result ) : void

Performs a callback. Null action and/or result are permitted.

DecrementBusyServiceCounter ( ) : void

Decrements the busy service counter.

IncrementBusyServiceCounter ( ) : void

Increments the busy service counter.

OnInitializeCompleted ( ) : void

Call the InitializeCompleted event.

ProviderBase ( TestServiceProvider provider, string displayName ) : System

Initializes a new base provider class.

Method Details

Callback() protected static méthode

Performs a callback. Null action and/or result are permitted.
protected static Callback ( Action action, ServiceResult result ) : void
action Action The optional callback action.
result ServiceResult The result to pass back.
Résultat void

DecrementBusyServiceCounter() protected méthode

Decrements the busy service counter.
protected DecrementBusyServiceCounter ( ) : void
Résultat void

IncrementBusyServiceCounter() protected méthode

Increments the busy service counter.
protected IncrementBusyServiceCounter ( ) : void
Résultat void

Initialize() public méthode

Initializes the provider.
public Initialize ( ) : void
Résultat void

InvokeMethod() public méthode

Invokes a method on this provider using reflection.
public InvokeMethod ( string methodName ) : void
methodName string The name of the method.
Résultat void

OnInitializeCompleted() protected méthode

Call the InitializeCompleted event.
protected OnInitializeCompleted ( ) : void
Résultat void

ProviderBase() protected méthode

Initializes a new base provider class.
protected ProviderBase ( TestServiceProvider provider, string displayName ) : System
provider TestServiceProvider The owning test service provider.
displayName string The display name of the service.
Résultat System