C# 클래스 System.Globalization.Tests.Unicode_Win7_IdnaTest

contained in Data\Unicode_Win7\IdnaTest_Win7.txt The structure of the data set is a semicolon deliminated list with the following columns: Column 1: type - T for transitional, N for nontransitional, B for both Column 2: source - the source string to be tested Column 3: toUnicode - the result of applying toUnicode to the source, using the specified type Column 4: toASCII - the result of applying toASCII to the source, using nontransitional If the value of toUnicode or toASCII is the same as source, the column will be blank.
상속: IConformanceIdnaTest
파일 보기 프로젝트 열기: dotnet/corefx

공개 메소드들

메소드 설명
Unicode_Win7_IdnaTest ( string line, int lineNumber ) : System.Text

비공개 메소드들

메소드 설명
ConvertStringToType ( string idnType ) : IdnType
EscapedToLiteralString ( string escaped, int lineNumber ) : string

This will convert strings with escaped sequences to literal characters. The input string is expected to have escaped sequences in the form of '\uXXXX'. Example: "a\u0020b" will be converted to 'a b'.

메소드 상세

Unicode_Win7_IdnaTest() 공개 메소드

public Unicode_Win7_IdnaTest ( string line, int lineNumber ) : System.Text
line string
lineNumber int
리턴 System.Text