C# Класс Microsoft.Silverlight.Testing.Service.ProviderBase

The base class for test service providers.
Показать файл Открыть проект

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

Метод Описание
Initialize ( ) : void

Initializes the provider.

InvokeMethod ( string methodName ) : void

Invokes a method on this provider using reflection.

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

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

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

Callback() защищенный статический Метод

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

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

Decrements the busy service counter.
protected DecrementBusyServiceCounter ( ) : void
Результат void

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

Increments the busy service counter.
protected IncrementBusyServiceCounter ( ) : void
Результат void

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

Initializes the provider.
public Initialize ( ) : void
Результат void

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

Invokes a method on this provider using reflection.
public InvokeMethod ( string methodName ) : void
methodName string The name of the method.
Результат void

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

Call the InitializeCompleted event.
protected OnInitializeCompleted ( ) : void
Результат void

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

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