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

A class contains extension methods and helpers for dealing with WorkItem instances and improving framework performance.
Показать файл Открыть проект

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

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