C# 클래스 System.Yaml.StringUriEncodingExtention

Add string class two methods: .UriEscape(), .UriUnescape() Charset that is not escaped is represented NonUriChar member. NonUriChar = new Regex(@"[^0-9A-Za-z\-_.!~*'()\\;/?:@&=$,\[\]]");
파일 보기 프로젝트 열기: jbruening/YamlSerializer-Fork

공개 메소드들

메소드 설명
UriEscape ( this s ) : string

Escape the string in URI encoding format.

UriEscapeForTag ( this s ) : string

Escape the string in URI encoding format.

UriUnescape ( this s ) : string

Unescape the string escaped in URI encoding format.

메소드 상세

UriEscape() 공개 정적인 메소드

Escape the string in URI encoding format.
public static UriEscape ( this s ) : string
s this String to be escaped.
리턴 string

UriEscapeForTag() 공개 정적인 메소드

Escape the string in URI encoding format.
public static UriEscapeForTag ( this s ) : string
s this String to be escaped.
리턴 string

UriUnescape() 공개 정적인 메소드

Unescape the string escaped in URI encoding format.
public static UriUnescape ( this s ) : string
s this String to be unescape.
리턴 string