Table of Contents

Class SetCultureAttribute

Namespace
NUnit.Framework
Assembly
nunit.framework.dll

Sets the current Culture on an assembly, test fixture or test method for the duration of a test. The culture remains set until the test or fixture completes and is then reset to its original value.

[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class SetCultureAttribute : PropertyAttribute, IApplyToTest, IApplyToContext
Inheritance
SetCultureAttribute
Implements
Inherited Members

Constructors

SetCultureAttribute(string)

Construct given the name of a culture

public SetCultureAttribute(string culture)

Parameters

culture string
See Also

See Also