UseCultureAttribute UseCultureAttribute Class

Definition

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class UseCultureAttribute : BeforeAfterTestAttribute
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Method)>
Public Class UseCultureAttribute
    Inherits BeforeAfterTestAttribute
Inheritance
System.ObjectSystem.Object
UseCultureAttributeUseCultureAttribute
Attributes
System.AttributeUsageAttribute

Constructors

UseCultureAttribute(String) UseCultureAttribute(String)

public UseCultureAttribute(string culture)
Public Sub New(culture As String)
Parameters
culture
System.String System.String

UseCultureAttribute(String, String) UseCultureAttribute(String, String)

public UseCultureAttribute(string culture, string uiCulture)
Public Sub New(culture As String, uiCulture As String)
Parameters
culture
System.String System.String
uiCulture
System.String System.String

Properties

Culture Culture

public CultureInfo Culture { get; }
Public ReadOnly Property Culture As CultureInfo
Value
System.Globalization.CultureInfo System.Globalization.CultureInfo

UICulture UICulture

public CultureInfo UICulture { get; }
Public ReadOnly Property UICulture As CultureInfo
Value
System.Globalization.CultureInfo System.Globalization.CultureInfo

Methods

After(MethodInfo) After(MethodInfo)

public override void After(MethodInfo methodUnderTest)
Public Overrides Sub After(methodUnderTest As MethodInfo)
Parameters
methodUnderTest
System.Reflection.MethodInfo System.Reflection.MethodInfo

Before(MethodInfo) Before(MethodInfo)

public override void Before(MethodInfo methodUnderTest)
Public Overrides Sub Before(methodUnderTest As MethodInfo)
Parameters
methodUnderTest
System.Reflection.MethodInfo System.Reflection.MethodInfo