CultureDetector is a helper class used by NUnit to determine whether a test should be run based on the current culture.
More...
|
string | Reason [get] |
| Return the last failure reason. Results are not defined if called before IsSupported( Attribute ) is called. More...
|
|
CultureDetector is a helper class used by NUnit to determine whether a test should be run based on the current culture.
NUnit.Framework.Internal.CultureDetector.CultureDetector |
( |
| ) |
|
|
inline |
Default constructor uses the current culture.
NUnit.Framework.Internal.CultureDetector.CultureDetector |
( |
string |
culture | ) |
|
|
inline |
Construct a CultureDetector for a particular culture for testing.
- Parameters
-
culture | The culture to be used |
bool NUnit.Framework.Internal.CultureDetector.IsCultureSupported |
( |
string[] |
cultures | ) |
|
|
inline |
bool NUnit.Framework.Internal.CultureDetector.IsCultureSupported |
( |
CultureAttribute |
cultureAttribute | ) |
|
|
inline |
bool NUnit.Framework.Internal.CultureDetector.IsCultureSupported |
( |
string |
culture | ) |
|
|
inline |
Test to determine if the a particular culture or comma- delimited set of cultures is in use.
- Parameters
-
culture | Name of the culture or comma-separated list of culture ids |
- Returns
- True if the culture is in use on the system
CultureInfo NUnit.Framework.Internal.CultureDetector.currentCulture |
|
private |
string NUnit.Framework.Internal.CultureDetector.reason = string.Empty |
|
private |
string NUnit.Framework.Internal.CultureDetector.Reason |
|
get |
Return the last failure reason. Results are not defined if called before IsSupported( Attribute ) is called.
The documentation for this class was generated from the following file: