C# Класс Rolcore.Collections.Specialized.NameValueCollectionExtensions

Provides extension methods related to NameValueCollection.
Показать файл Открыть проект

Открытые методы

Метод Описание
FromKeys ( this collection ) : NameValueCollection
IsEquivalentTo ( this value, NameValueCollection compare ) : bool

Determines if the NameValueCollections contain exactly the same keys and values.

ToNameValueCollection ( this value, char listItemSeperator, char keyValueSeperator ) : NameValueCollection

Creates a NameValueCollection from the specified string and seperators.

ToReadOnly ( this value ) : NameValueCollection

Creates a copy of the current instance that is read-only.

Описание методов

FromKeys() публичный статический Метод

public static FromKeys ( this collection ) : NameValueCollection
collection this
Результат System.Collections.Specialized.NameValueCollection

IsEquivalentTo() публичный статический Метод

Determines if the NameValueCollections contain exactly the same keys and values.
public static IsEquivalentTo ( this value, NameValueCollection compare ) : bool
value this The first to compare.
compare System.Collections.Specialized.NameValueCollection The other to compare.
Результат bool

ToNameValueCollection() публичный статический Метод

Creates a NameValueCollection from the specified string and seperators.
public static ToNameValueCollection ( this value, char listItemSeperator, char keyValueSeperator ) : NameValueCollection
value this Specifies the string that is to be converted to a /// .
listItemSeperator char Specifies the character that separates name-value /// entries.
keyValueSeperator char Specifies the character that separates the name from /// the value in each name-value pair.
Результат System.Collections.Specialized.NameValueCollection

ToReadOnly() публичный статический Метод

Creates a copy of the current instance that is read-only.
public static ToReadOnly ( this value ) : NameValueCollection
value this Specifies the collection to convert to read-only.
Результат System.Collections.Specialized.NameValueCollection