Exemplo n.º 1
0
 /// <summary>
 /// Unescape the string escaped in URI encoding format.
 /// </summary>
 /// <param name="s">String to be unescape.</param>
 /// <returns>Unescaped string.</returns>
 public static string UriUnescape(this string s)
 {
     return(UriEncoding.Unescape(s));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Escape the string in URI encoding format.
 /// </summary>
 /// <param name="s">String to be escaped.</param>
 /// <returns>Escaped string.</returns>
 public static string UriEscapeForTag(this string s)
 {
     return(UriEncoding.EscapeForTag(s));
 }