C# Class Jint.Tests.ReplaceCultureAttribute

Inheritance: Xunit.Sdk.BeforeAfterTestAttribute
Afficher le fichier Open project: sebastienros/jint

Méthodes publiques

Méthode Description
After ( MethodInfo methodUnderTest ) : void

The Thread.CurrentUICulture for the test. Defaults to en-US.

The CultureInfo.CurrentUICulture for the test. Defaults to en-US.

Before ( MethodInfo methodUnderTest ) : void
ReplaceCultureAttribute ( string currentCulture ) : System

Replaces the current culture and UI culture based on specified value.

ReplaceCultureAttribute ( string currentCulture, string currentUICulture ) : System

Replaces the current culture and UI culture based on specified values.

Method Details

After() public méthode

The Thread.CurrentUICulture for the test. Defaults to en-US. The CultureInfo.CurrentUICulture for the test. Defaults to en-US.
public After ( MethodInfo methodUnderTest ) : void
methodUnderTest System.Reflection.MethodInfo
Résultat void

Before() public méthode

public Before ( MethodInfo methodUnderTest ) : void
methodUnderTest System.Reflection.MethodInfo
Résultat void

ReplaceCultureAttribute() public méthode

Replaces the current culture and UI culture based on specified value.
public ReplaceCultureAttribute ( string currentCulture ) : System
currentCulture string
Résultat System

ReplaceCultureAttribute() public méthode

Replaces the current culture and UI culture based on specified values.
public ReplaceCultureAttribute ( string currentCulture, string currentUICulture ) : System
currentCulture string
currentUICulture string
Résultat System