C# Класс System.Threading.Tests.ThreadTestHelpers

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CheckedWait ( this wh ) : void
CreateGuardedThread ( Action &waitForThread, Action start ) : Thread
CreateGuardedThread ( Action &checkForThreadErrors, Action &waitForThread, Action start ) : Thread
CreateGuardedThread ( Action &checkForThreadErrors, Action &waitForThread, Action start ) : Thread
CreateGuardedThread ( Action &waitForThread, Action start ) : Thread
RunTestInBackgroundThread ( Action test ) : void
WaitForCondition ( Func condition ) : void
WaitForConditionWithCustomDelay ( Func condition, Action delay ) : void
WaitForConditionWithoutBlocking ( Func condition ) : void

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

CheckedWait() публичный статический Метод

public static CheckedWait ( this wh ) : void
wh this
Результат void

CreateGuardedThread() публичный статический Метод

public static CreateGuardedThread ( Action &waitForThread, Action start ) : Thread
waitForThread Action
start Action
Результат Thread

CreateGuardedThread() публичный статический Метод

public static CreateGuardedThread ( Action &checkForThreadErrors, Action &waitForThread, Action start ) : Thread
checkForThreadErrors Action
waitForThread Action
start Action
Результат Thread

CreateGuardedThread() публичный статический Метод

public static CreateGuardedThread ( Action &checkForThreadErrors, Action &waitForThread, Action start ) : Thread
checkForThreadErrors Action
waitForThread Action
start Action
Результат Thread

CreateGuardedThread() публичный статический Метод

public static CreateGuardedThread ( Action &waitForThread, Action start ) : Thread
waitForThread Action
start Action
Результат Thread

RunTestInBackgroundThread() публичный статический Метод

public static RunTestInBackgroundThread ( Action test ) : void
test Action
Результат void

WaitForCondition() публичный статический Метод

public static WaitForCondition ( Func condition ) : void
condition Func
Результат void

WaitForConditionWithCustomDelay() публичный статический Метод

public static WaitForConditionWithCustomDelay ( Func condition, Action delay ) : void
condition Func
delay Action
Результат void

WaitForConditionWithoutBlocking() публичный статический Метод

public static WaitForConditionWithoutBlocking ( Func condition ) : void
condition Func
Результат void