Method GetMethodTraits
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
GetMethodTraits(MethodInfo, IReadOnlyDictionary<string, IReadOnlyCollection<string>>?)
Gets the traits that are attached to the test method via ITraitAttributes.
public static IReadOnlyDictionary<string, IReadOnlyCollection<string>> GetMethodTraits(MethodInfo testMethod, IReadOnlyDictionary<string, IReadOnlyCollection<string>>? testClassTraits)
Parameters
testMethod
MethodInfoThe test method
testClassTraits
IReadOnlyDictionary<string, IReadOnlyCollection<string>>The traits inherited from the test class