Show / Hide Table of Contents

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.

Inheritance
Object
TraitDiscovererAttribute
Namespace: Xunit.Sdk
Assembly: xunit.core.dll
Syntax
public sealed class TraitDiscovererAttribute : Attribute

Constructors

| Improve this Doc View Source

TraitDiscovererAttribute(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')

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