C# Class System.Yaml.UriEncoding

Escape / Unescape string in URI encoding format Charset that is not escaped is represented NonUriChar member. NonUriChar = new Regex(@"[^0-9A-Za-z\-_.!~*'()\\;/?:@&=$,\[\]]");
Afficher le fichier Open project: jbruening/YamlSerializer-Fork Class Usage Examples

Méthodes publiques

Méthode Description
Escape ( string s ) : string
EscapeForTag ( string s ) : string
Unescape ( string s ) : string

Private Methods

Méthode Description
HexToInt ( char c ) : int
IntToHex ( int c ) : string
IntToHex ( int c1, int c2 ) : string
IntToHex ( int c1, int c2, int c3 ) : string

Method Details

Escape() public static méthode

public static Escape ( string s ) : string
s string
Résultat string

EscapeForTag() public static méthode

public static EscapeForTag ( string s ) : string
s string
Résultat string

Unescape() public static méthode

public static Unescape ( string s ) : string
s string
Résultat string