C# Класс Polly.Specs.Bulkhead.BulkheadSpecsHelper

Наследование: IDisposable
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
shimTimeSpan System.TimeSpan
statusChanged System.Threading.AutoResetEvent
testOutputHelper ITestOutputHelper

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

Метод Описание
BulkheadSpecsHelper ( ITestOutputHelper testOutputHelper ) : System
Dispose ( ) : void

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

Метод Описание
EnsureNoUnbservedTaskExceptions ( Task tasks ) : void
OutputActionStatuses ( ) : void
Within ( System.TimeSpan timeSpan, System.Action actionContainingAssertions ) : void

Asserts that the actionContainingAssertions will succeed without AssertionFailedException or XunitException, within the given timespan. Checks are made each time a status-change pulse is received from the TraceableActions executing through the bulkhead.

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

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

public BulkheadSpecsHelper ( ITestOutputHelper testOutputHelper ) : System
testOutputHelper ITestOutputHelper
Результат System

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

public Dispose ( ) : void
Результат void

EnsureNoUnbservedTaskExceptions() защищенный статический Метод

protected static EnsureNoUnbservedTaskExceptions ( Task tasks ) : void
tasks Task
Результат void

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

protected OutputActionStatuses ( ) : void
Результат void

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

Asserts that the actionContainingAssertions will succeed without AssertionFailedException or XunitException, within the given timespan. Checks are made each time a status-change pulse is received from the TraceableActions executing through the bulkhead.
protected Within ( System.TimeSpan timeSpan, System.Action actionContainingAssertions ) : void
timeSpan System.TimeSpan The allowable timespan.
actionContainingAssertions System.Action The action containing fluent assertions, which must succeed within the timespan.
Результат void

Описание свойств

shimTimeSpan защищенное свойство

protected TimeSpan,System shimTimeSpan
Результат System.TimeSpan

statusChanged защищенное свойство

protected AutoResetEvent,System.Threading statusChanged
Результат System.Threading.AutoResetEvent

testOutputHelper защищенное свойство

protected ITestOutputHelper testOutputHelper
Результат ITestOutputHelper