Skip to main content

AvaloniaFactAttribute Class

Definition​

Assembly:Avalonia.Headless.XUnit
Package:Avalonia.Headless.XUnit

Identifies an xunit test that starts on Avalonia Dispatcher such that awaited expressions resume on the test's "main thread".

public class AvaloniaFactAttribute

Inheritance: FactAttribute -> AvaloniaFactAttribute

Constructors​

NameDescription
AvaloniaFactAttributeIdentifies an xunit test that starts on Avalonia Dispatcher such that awaited expressions resume on the test's "main thread".

AvaloniaFactAttribute Constructor​

Identifies an xunit test that starts on Avalonia Dispatcher such that awaited expressions resume on the test's "main thread".

public AvaloniaFactAttribute(string sourceFilePath, int sourceLineNumber)

Parameters​

sourceFilePath string

sourceLineNumber int