Class TraitDiscovererAttribute
An attribute used to decorate classes which implement ITraitAttribute, to indicate how trait values should be discovered. The discoverer type must implement ITraitDiscoverer.
Namespace: Xunit.Sdk
Assembly: xunit.core.dll
Syntax
public sealed class TraitDiscovererAttribute : Attribute
Constructors
| Improve this Doc View SourceTraitDiscovererAttribute(String, String)
Initializes an instance of TraitDiscovererAttribute.
Declaration
public TraitDiscovererAttribute(string typeName, string assemblyName)
Parameters
Type | Name | Description |
---|---|---|
String | typeName | The fully qualified type name of the discoverer (f.e., 'Xunit.Sdk.TraitDiscoverer') |
String | assemblyName | The name of the assembly that the discoverer type is located in, without file extension (f.e., 'xunit.execution') |