Show / Hide Table of Contents

    Class HttpUtilityExtensions

    This is an extension implementation of the most common methods on the HttpUtility class.

    Inheritance
    System.Object
    HttpUtilityExtensions
    Namespace: Cuemon.Web
    Assembly: Cuemon.Web.dll
    Syntax
    public static class HttpUtilityExtensions

    Methods

    | Improve this Doc

    UrlDecode(String)

    Converts a string that has been encoded for transmission in a URL into a decoded string.

    Declaration
    public static string UrlDecode(this string value)
    Parameters
    Type Name Description
    System.String value

    The string to decode.

    Returns
    Type Description
    System.String

    A decoded string.

    | Improve this Doc

    UrlDecode(String, Encoding)

    Converts a string that has been encoded for transmission in a URL into a decoded string, using the specified encoding object.

    Declaration
    public static string UrlDecode(this string value, Encoding encoding)
    Parameters
    Type Name Description
    System.String value

    The string to decode.

    System.Text.Encoding encoding

    The System.Text.Encoding that specifies the decoding scheme.

    Returns
    Type Description
    System.String

    A decoded string.

    | Improve this Doc

    UrlEncode(String)

    Encodes a URL string.

    Declaration
    public static string UrlEncode(this string value)
    Parameters
    Type Name Description
    System.String value

    The text to encode.

    Returns
    Type Description
    System.String

    An encoded string.

    | Improve this Doc

    UrlEncode(String, Encoding)

    Encodes a URL string, using the specified encoding object.

    Declaration
    public static string UrlEncode(this string value, Encoding encoding)
    Parameters
    Type Name Description
    System.String value

    The value.

    System.Text.Encoding encoding

    The System.Text.Encoding that specifies the encoding scheme.

    Returns
    Type Description
    System.String

    An encoded string.

    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX