C# Класс Microsoft.Silverlight.Testing.WorkItem

A test work item is a task that is invoked until it is complete. It maintains its own state to be able to notify the caller when it is finally complete, with no further work to be run. It is possible that some implementations of a TestWorkItem may actually contain a set of sub-tasks by implementing a composite pattern.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Invoke ( ) : bool

Invoke the task. Return false only when the task is complete.

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

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

Called by the task after the work is complete.

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

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

Invoke the task. Return false only when the task is complete.
public Invoke ( ) : bool
Результат bool

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

Called by the task after the work is complete.
protected WorkItemComplete ( ) : void
Результат void