C# 클래스 Jint.Tests.ReplaceCultureAttribute

상속: Xunit.Sdk.BeforeAfterTestAttribute
파일 보기 프로젝트 열기: sebastienros/jint

공개 메소드들

메소드 설명
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.

메소드 상세

After() 공개 메소드

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
리턴 void

Before() 공개 메소드

public Before ( MethodInfo methodUnderTest ) : void
methodUnderTest System.Reflection.MethodInfo
리턴 void

ReplaceCultureAttribute() 공개 메소드

Replaces the current culture and UI culture based on specified value.
public ReplaceCultureAttribute ( string currentCulture ) : System
currentCulture string
리턴 System

ReplaceCultureAttribute() 공개 메소드

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