Constructor CulturedFactAttribute
- Namespace
- Xunit
- Assembly
- xunit.v3.core.dll
CulturedFactAttribute(string[], string?, int)
Attribute that is applied to a method to indicate that is a fact that should be run by the default test runner, using one or more cultures.
public CulturedFactAttribute(string[] cultures, string? sourceFilePath = null, int sourceLineNumber = -1)
Parameters
culturesstring[]One or more cultures to run the test method under. The cultures must be valid culture names that can be passed to CultureInfo(string).
sourceFilePathstringThis parameter is provided automatically by the compiler. Do not pass a value for it.
sourceLineNumberintThis parameter is provided automatically by the compiler. Do not pass a value for it.