Open sandboxFocus

Property SyncProvider

SyncProvider

Gets the provider of the synchronization points that the code under test reaches, which lets the test drive concurrent code into a specific interleaving. All of its synchronization points are released when this context is disposed, so a failing test does not hang.

Declaration
public TestSynchronizationProvider SyncProvider { get; }
Property Value
Type Description
TestSynchronizationProvider
Remarks

The provider is registered by CreateTestSynchronizationProvider(), so this property is available only in a context created by UnitTestClass.