C# 클래스 Microsoft.Silverlight.Testing.WorkItemExtensions

A class contains extension methods and helpers for dealing with WorkItem instances and improving framework performance.
파일 보기 프로젝트 열기: garyjohnson/wpnest

공개 메소드들

메소드 설명
EnqueueQuickCallback ( this test, System.Action callback ) : void

Enqueues a method into the task queue. The method will run immediately following the previous work item, and may not leave any time before executing the next. This is a specialized method to be used for performance improvements.

EnqueueQuickConditional ( this test, Func conditional ) : void

Enqueues a conditional statement into the task queue. The method will run immediately following the previous work item, and may not leave any time before executing the next. This is a specialized method to be used for performance improvements.

EnqueueQuickWorkItem ( this test, WorkItem workItem ) : void

Enqueues a work item into the task queue. The work item will run immediately following the previous work item, and may not leave any time before executing the next. This is a specialized method to be used for performance improvements.

메소드 상세

EnqueueQuickCallback() 공개 정적인 메소드

Enqueues a method into the task queue. The method will run immediately following the previous work item, and may not leave any time before executing the next. This is a specialized method to be used for performance improvements.
public static EnqueueQuickCallback ( this test, System.Action callback ) : void
test this The work item test.
callback System.Action The callback action or method.
리턴 void

EnqueueQuickConditional() 공개 정적인 메소드

Enqueues a conditional statement into the task queue. The method will run immediately following the previous work item, and may not leave any time before executing the next. This is a specialized method to be used for performance improvements.
public static EnqueueQuickConditional ( this test, Func conditional ) : void
test this The work item test.
conditional Func The conditional function or statement.
리턴 void

EnqueueQuickWorkItem() 공개 정적인 메소드

Enqueues a work item into the task queue. The work item will run immediately following the previous work item, and may not leave any time before executing the next. This is a specialized method to be used for performance improvements.
public static EnqueueQuickWorkItem ( this test, WorkItem workItem ) : void
test this The work item test.
workItem WorkItem The unit of work.
리턴 void