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.
파일 보기 프로젝트 열기: garyjohnson/wpnest 1 사용 예제들

공개 메소드들

메소드 설명
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