Collection of HTTP parameters.
Inheritance Hierarchy
System.Collections.Generic List HttpParameter
Nemiro.OAuth HttpParameterCollection
Namespace: Nemiro.OAuth
Assembly: Nemiro.OAuth (in Nemiro.OAuth.dll) Version: 1.9.4.725 (1.9.4.725)
Syntax
The HttpParameterCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HttpParameterCollection |
Initializes a new instance of the HttpParameterCollection class.
| |
HttpParameterCollection( Byte ) |
Initializes a new instance of the HttpParameterCollection class.
| |
HttpParameterCollection(NameValueCollection) |
Initializes a new instance of the HttpParameterCollection class.
| |
HttpParameterCollection(Stream) |
Initializes a new instance of the HttpParameterCollection class.
| |
HttpParameterCollection( HttpParameter ) |
Initializes a new instance of the HttpParameterCollection class.
|
Methods
Name | Description | |
---|---|---|
Add( Byte ) |
Adds a HttpRequestBody to the end of the collection.
| |
Add(Stream) |
Adds a HttpRequestBody to the end of the collection.
| |
Add(Object) |
Adds a HttpRequestBody to the end of the collection.
| |
Add(HttpPostedFile) |
Adds a HttpRequestBody to the end of the collection.
| |
Add(HttpParameter) |
Adds a parameter to the end of the collection.
| |
Add(String, Object) |
Adds a parameter to the end of the collection.
| |
Add(String, String) |
Adds a HttpParameter to the end of the collection.
| |
Add(String, HttpPostedFile) |
Adds a HttpFile to the end of the collection.
| |
Add(String, String, Byte ) |
Adds a HttpFile to the end of the collection.
| |
Add(String, String, Stream) |
Adds a HttpFile to the end of the collection.
| |
Add(HttpParameterType, String, String) |
Adds a HttpParameter to the end of the collection.
| |
Add(String, String, String, Byte ) |
Adds a HttpFile to the end of the collection.
| |
Add(String, String, String, Stream) |
Adds a HttpFile to the end of the collection.
| |
AddFormParameter |
Adds a HttpFormParameter to the end of the collection.
| |
AddRange |
Adds the items of the specified collection to the end of the current instance of the HttpParameterCollection.
| |
AddUrlParameter |
Adds a HttpUrlParameter to the end of the collection.
| |
AsReadOnly | (Inherited from List HttpParameter .) | |
BinarySearch(T) | (Inherited from List HttpParameter .) | |
BinarySearch(T, IComparer T ) | (Inherited from List HttpParameter .) | |
BinarySearch(Int32, Int32, T, IComparer T ) | (Inherited from List HttpParameter .) | |
Clear |
Removes all elements from the HttpParameterCollection.
| |
Contains | (Inherited from List HttpParameter .) | |
ConvertAll TOutput | (Inherited from List HttpParameter .) | |
CopyTo( T ) | (Inherited from List HttpParameter .) | |
CopyTo( T , Int32) | (Inherited from List HttpParameter .) | |
CopyTo(Int32, T , Int32, Int32) | (Inherited from List HttpParameter .) | |
Equals | (Inherited from Object.) | |
Exists | (Inherited from List HttpParameter .) | |
Finalize | (Inherited from Object.) | |
Find | (Inherited from List HttpParameter .) | |
FindAll | (Inherited from List HttpParameter .) | |
FindIndex(Predicate T ) | (Inherited from List HttpParameter .) | |
FindIndex(Int32, Predicate T ) | (Inherited from List HttpParameter .) | |
FindIndex(Int32, Int32, Predicate T ) | (Inherited from List HttpParameter .) | |
FindLast | (Inherited from List HttpParameter .) | |
FindLastIndex(Predicate T ) | (Inherited from List HttpParameter .) | |
FindLastIndex(Int32, Predicate T ) | (Inherited from List HttpParameter .) | |
FindLastIndex(Int32, Int32, Predicate T ) | (Inherited from List HttpParameter .) | |
ForEach | (Inherited from List HttpParameter .) | |
GetEnumerator | (Inherited from List HttpParameter .) | |
GetHashCode | (Inherited from Object.) | |
GetRange | (Inherited from List HttpParameter .) | |
GetType | (Inherited from Object.) | |
IndexOf(T) | (Inherited from List HttpParameter .) | |
IndexOf(T, Int32) | (Inherited from List HttpParameter .) | |
IndexOf(T, Int32, Int32) | (Inherited from List HttpParameter .) | |
Insert |
Inserts an element into the instance of the HttpParameterCollection at the specified index.
| |
InsertRange |
Inserts the elements of a collection into the instance of the HttpParameterCollection at the specified index.
| |
LastIndexOf(T) | (Inherited from List HttpParameter .) | |
LastIndexOf(T, Int32) | (Inherited from List HttpParameter .) | |
LastIndexOf(T, Int32, Int32) | (Inherited from List HttpParameter .) | |
MemberwiseClone | (Inherited from Object.) | |
Remove |
Removes the first occurrence of a specific parameter from the HttpParameterCollection.
| |
RemoveAll |
Removes all the elements that match the conditions defined by the specified predicate.
| |
RemoveAt |
Removes the element at the specified index of the HttpParameterCollection.
| |
RemoveRange |
Removes a range of elements from the HttpParameterCollection.
| |
Reverse | (Inherited from List HttpParameter .) | |
Reverse(Int32, Int32) | (Inherited from List HttpParameter .) | |
Sort | (Inherited from List HttpParameter .) | |
Sort(IComparer T ) | (Inherited from List HttpParameter .) | |
Sort(Comparison T ) | (Inherited from List HttpParameter .) | |
Sort(Int32, Int32, IComparer T ) | (Inherited from List HttpParameter .) | |
ToArray | (Inherited from List HttpParameter .) | |
ToNameValueCollection |
Copies elements of the HttpParameterCollection to a new NameValueCollection instance.
| |
ToRequestBody |
Gets a body for the request.
| |
ToString | (Inherited from Object.) | |
ToStringParameters |
Returns a string query parameters encoded by default method (UrlEncode(String)).
| |
ToStringParameters(String) |
Returns a string of query parameters with a specified separator.
| |
ToStringParameters(HttpParameterType) |
Returns a string of query parameters with a specified encoding parameters.
| |
ToStringParameters(UrlEncodingType) |
Returns a string of query parameters with a specified encoding parameters.
| |
ToStringParameters(String, HttpParameterType) |
Returns a string of query parameters with a specified encoding parameters.
| |
ToStringParameters(String, UrlEncodingType) |
Returns a string of query parameters with a specified encoding parameters.
| |
ToStringParameters(UrlEncodingType, HttpParameterType) |
Returns a string of query parameters with a specified encoding parameters.
| |
ToStringParameters(String, UrlEncodingType, HttpParameterType) |
Returns a string of query parameters with a specified separator and encoding parameters.
| |
TrimExcess | (Inherited from List HttpParameter .) | |
TrueForAll | (Inherited from List HttpParameter .) | |
WriteToRequestStream |
Writes the parameters to the request.
|
Operators
Name | Description | |
---|---|---|
( Byte to HttpParameterCollection) |
The assignment operator for the byte array.
| |
(NameValueCollection to HttpParameterCollection) |
The assignment operator for the NameValueCollection.
| |
(Stream to HttpParameterCollection) |
The assignment operator for the Stream.
| |
( HttpParameter to HttpParameterCollection) |
The assignment operator for array of the HttpParameter.
|
Properties
Name | Description | |
---|---|---|
Boundary |
Gets a boundary for a request.
| |
Capacity | (Inherited from List HttpParameter .) | |
Count | (Inherited from List HttpParameter .) | |
Encoding |
Gets or sets code page for parameters encoding.
| |
HasFiles |
Gets a value indicating whether the current collection has a files.
| |
IsRequestBody |
Gets a value indicating whether the current collection has a HttpRequestBody.
| |
Item | (Inherited from List HttpParameter .) |
See Also