Method GetClassTraits
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
GetClassTraits(Type?, IReadOnlyDictionary<string, IReadOnlyCollection<string>>?)
Gets the traits that are attached to the test class via ITraitAttributes.
public static IReadOnlyDictionary<string, IReadOnlyCollection<string>> GetClassTraits(Type? testClass, IReadOnlyDictionary<string, IReadOnlyCollection<string>>? testCollectionTraits)
Parameters
testClass
TypeThe test class
testCollectionTraits
IReadOnlyDictionary<string, IReadOnlyCollection<string>>The traits inherited from the test collection