C# Class IronFramework.TestCommon.PreserveSyncContextAttribute

Preserves the current SynchronizationContext. Use this attribute on tests which modify the current SynchronizationContext.
Inheritance: Xunit.BeforeAfterTestAttribute
Mostra file Open project: megadotnet/ironframework

Public Methods

Method Description
After ( System methodUnderTest ) : void
Before ( System methodUnderTest ) : void

Method Details

After() public method

public After ( System methodUnderTest ) : void
methodUnderTest System
return void

Before() public method

public Before ( System methodUnderTest ) : void
methodUnderTest System
return void