C# 클래스 Rolcore.Collections.Specialized.NameValueCollectionExtensions

Provides extension methods related to NameValueCollection.
파일 보기 프로젝트 열기: Rollins/Rolcore

공개 메소드들

메소드 설명
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