Skip to main content

AvaloniaTheoryAttribute Class

Definition

Assembly:Avalonia.Headless.NUnit
Package:Avalonia.Headless.NUnit

Identifies a nunit theory that starts on Avalonia Dispatcher such that awaited expressions resume on the test's "main thread".

public class AvaloniaTheoryAttribute

Inheritance: TheoryAttribute -> AvaloniaTheoryAttribute

Implements: ICommandWrapper, IWrapSetUpTearDown

Constructors

NameDescription
AvaloniaTheoryAttributeNo summary available.

AvaloniaTheoryAttribute Constructor

public AvaloniaTheoryAttribute()

Methods

NameDescription
WrapNo summary available.

Wrap Method

public NUnit.Framework.Internal.Commands.TestCommand Wrap(NUnit.Framework.Internal.Commands.TestCommand command)

Parameters

command NUnit.Framework.Internal.Commands.TestCommand

Returns

NUnit.Framework.Internal.Commands.TestCommand