Show / Hide Table of Contents

    Class FormConverter

    This utility class is designed to make HTTP request form-data specific System.Collections.Specialized.NameValueCollection related conversions easier to work with.

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

    Methods

    | Improve this Doc

    FromDictionary(IDictionary<String, String[]>)

    Converts the specified form into its System.String equivalent.

    Declaration
    public static string FromDictionary(IDictionary<string, string[]> form)
    Parameters
    Type Name Description
    System.Collections.Generic.IDictionary<System.String, System.String[]> form

    The form-data values to convert.

    Returns
    Type Description
    System.String

    A System.String equivalent to the values in the form.

    | Improve this Doc

    FromNameValueCollection(NameValueCollection)

    Converts the specified form into its System.String equivalent.

    Declaration
    public static string FromNameValueCollection(NameValueCollection form)
    Parameters
    Type Name Description
    System.Collections.Specialized.NameValueCollection form

    The form-data values to convert.

    Returns
    Type Description
    System.String

    A System.String equivalent to the values in the form.

    | Improve this Doc

    FromString(String)

    Converts the specified form into its System.Collections.Specialized.NameValueCollection equivalent.

    Declaration
    public static NameValueCollection FromString(string form)
    Parameters
    Type Name Description
    System.String form

    The form-data values to convert.

    Returns
    Type Description
    System.Collections.Specialized.NameValueCollection

    A System.Collections.Specialized.NameValueCollection equivalent to the values in the form.

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