Table of Contents

Interface ITypeAwareDataAttribute

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll

This interface supplements IDataAttribute for attributes that wish to be notified of the ReflectedType of the method that was used during reflection that they were attached to.

public interface ITypeAwareDataAttribute

Remarks

By default, this is called by GetMethodDataAttributes(MethodInfo). If a third party test framework uses some other mechanism to discover data attributes that are attached to methods, it should conditionally populate the MemberType during its own discovery phase.

Properties

MemberType

Gets or sets the reflected type of the method that this data attribute was attached to.