Show / Hide Table of Contents

    Class NameValueCollectionConverter

    This utility class is designed to make System.Collections.Specialized.NameValueCollection related conversions easier to work with.

    Inheritance
    System.Object
    NameValueCollectionConverter
    Namespace: Cuemon.Collections.Specialized
    Assembly: Cuemon.Collections.Specialized.dll
    Syntax
    public static class NameValueCollectionConverter

    Methods

    | Improve this Doc

    FromDictionary(IDictionary<String, String[]>)

    Creates a System.Collections.Specialized.NameValueCollection from the specified source.

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

    An System.Collections.Generic.IDictionary<TKey, TValue> to convert into an System.Collections.Specialized.NameValueCollection equivalent.

    Returns
    Type Description
    System.Collections.Specialized.NameValueCollection

    A System.Collections.Specialized.NameValueCollection that is equivalent to the specified source.

    | Improve this Doc

    ToDictionary(NameValueCollection)

    Creates a System.Collections.Generic.IDictionary<TKey, TValue> from the specified source.

    Declaration
    public static IDictionary<string, string[]> ToDictionary(NameValueCollection source)
    Parameters
    Type Name Description
    System.Collections.Specialized.NameValueCollection source

    A System.Collections.Specialized.NameValueCollection to convert into an System.Collections.Generic.IDictionary<TKey, TValue> equivalent.

    Returns
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.String[]>

    A System.Collections.Generic.IDictionary<TKey, TValue> that is equivalent to the specified source.

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