Show / Hide Table of Contents

    Class NameValueCollectionConverterExtensions

    This is an extension implementation of the NameValueCollectionConverter class.

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

    Methods

    | Improve this Doc

    ToDictionary(NameValueCollection)

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

    Declaration
    public static IDictionary<string, string[]> ToDictionary(this 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

    ToNameValueCollection(IDictionary<String, String[]>)

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

    Declaration
    public static NameValueCollection ToNameValueCollection(this 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
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX