xUnit.net
Public Member Functions | List of all members
Xunit.Sdk.TraitDiscovererAttribute Class Reference

An attribute used to decorate classes which implement ITraitAttribute, to indicate how trait values should be discovered. The discoverer type must implement T:Xunit.Sdk.ITraitDiscoverer. More...

Inheritance diagram for Xunit.Sdk.TraitDiscovererAttribute:

Public Member Functions

 TraitDiscovererAttribute (string typeName, string assemblyName)
 Initializes an instance of TraitDiscovererAttribute. More...
 

Detailed Description

An attribute used to decorate classes which implement ITraitAttribute, to indicate how trait values should be discovered. The discoverer type must implement T:Xunit.Sdk.ITraitDiscoverer.

Constructor & Destructor Documentation

◆ TraitDiscovererAttribute()

Xunit.Sdk.TraitDiscovererAttribute.TraitDiscovererAttribute ( string  typeName,
string  assemblyName 
)
inline

Initializes an instance of TraitDiscovererAttribute.

Parameters
typeNameThe fully qualified type name of the discoverer (f.e., 'Xunit.Sdk.TraitDiscoverer')
assemblyNameThe name of the assembly that the discoverer type is located in, without file extension (f.e., 'xunit.execution')

The documentation for this class was generated from the following file: