Class SetUICultureAttribute
Sets the current UI Culture on an assembly, test fixture or test method for the duration of a test. The UI culture remains set until the test or fixture completes and is then reset to its original value.
Inherited Members
Namespace: NUnit.Framework
Assembly: nunit.framework.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class SetUICultureAttribute : PropertyAttribute, IApplyToTest, IApplyToContext
Constructors
View SourceSetUICultureAttribute(string)
Construct given the name of a culture
Declaration
public SetUICultureAttribute(string culture)
Parameters
Type | Name | Description |
---|---|---|
string | culture |