Show / Hide Table of Contents

Class DataDiscoverer

Default implementation of IDataDiscoverer. Uses reflection to find the data associated with DataAttribute; may return null when called without reflection-based abstraction implementations.

Inheritance
Object
DataDiscoverer
MemberDataDiscoverer
Implements
IDataDiscoverer
Namespace: Xunit.Sdk
Assembly: xunit.core.dll
Syntax
public class DataDiscoverer : object, IDataDiscoverer

Methods

| Improve this Doc View Source

GetData(IAttributeInfo, IMethodInfo)

Declaration
public virtual IEnumerable<object[]> GetData(IAttributeInfo dataAttribute, IMethodInfo testMethod)
Parameters
Type Name Description
IAttributeInfo dataAttribute
IMethodInfo testMethod
Returns
Type Description
IEnumerable<Object[]>
| Improve this Doc View Source

SupportsDiscoveryEnumeration(IAttributeInfo, IMethodInfo)

Declaration
public virtual bool SupportsDiscoveryEnumeration(IAttributeInfo dataAttribute, IMethodInfo testMethod)
Parameters
Type Name Description
IAttributeInfo dataAttribute
IMethodInfo testMethod
Returns
Type Description
Boolean

Implements

IDataDiscoverer
  • Improve this Doc
  • View Source
Back to top Generated by DocFX