Query​Builder Query​Builder Class

Definition

public class QueryBuilder : IEnumerable<KeyValuePair<string, string>>, IEnumerablePublic Class QueryBuilder
    Implements IEnumerable(Of KeyValuePair(Of String, String)), IEnumerable
Inheritance
System.ObjectSystem.Object
QueryBuilderQueryBuilder
Implements
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>>System.Collections.Generic.IEnumerable(Of System.Collections.Generic.KeyValuePair(Of System.String, System.String)) System.Collections.IEnumerableSystem.Collections.IEnumerable

Inherited Members

System.Object

System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Constructors

QueryBuilder() QueryBuilder()

public QueryBuilder()Public Sub New

QueryBuilder(IEnumerable<KeyValuePair<String, String>>) QueryBuilder(IEnumerable(Of KeyValuePair(Of String, String)))

public QueryBuilder(IEnumerable<KeyValuePair<string, string>> parameters)Public Sub New(parameters As IEnumerable(Of KeyValuePair(Of String, String)))
Parameters
parameters
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>> System.Collections.Generic.IEnumerable(Of System.Collections.Generic.KeyValuePair(Of System.String, System.String))

Methods

Add(String, IEnumerable<String>) Add(String, IEnumerable(Of String))

public void Add(string key, IEnumerable<string> values)Public Sub Add(key As String, values As IEnumerable(Of String))
Parameters
key
System.String System.String
values
System.Collections.Generic.IEnumerable<System.String> System.Collections.Generic.IEnumerable(Of System.String)

Add(String, String) Add(String, String)

public void Add(string key, string value)Public Sub Add(key As String, value As String)
Parameters
key
System.String System.String
value
System.String System.String

Equals(Object) Equals(Object)

public override bool Equals(object obj)Public Overrides Function Equals(obj As Object) As Boolean
Parameters
obj
System.Object System.Object
Returns
System.Boolean System.Boolean
Overrides
System.Object.Equals(System.Object)System.Object.Equals(System.Object)

GetEnumerator() GetEnumerator()

public IEnumerator<KeyValuePair<string, string>> GetEnumerator()Public Function GetEnumerator As IEnumerator(Of KeyValuePair(Of String, String))
Returns
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.String, System.String>> System.Collections.Generic.IEnumerator(Of System.Collections.Generic.KeyValuePair(Of System.String, System.String))

GetHashCode() GetHashCode()

public override int GetHashCode()Public Overrides Function GetHashCode As Integer
Returns
System.Int32 System.Int32
Overrides
System.Object.GetHashCode()System.Object.GetHashCode()

ToQueryString() ToQueryString()

public QueryString ToQueryString()Public Function ToQueryString As QueryString
Returns
QueryString QueryString

ToString() ToString()

public override string ToString()Public Overrides Function ToString As String
Returns
System.String System.String
Overrides
System.Object.ToString()System.Object.ToString()

Explicit Interface Implementations

IEnumerable.GetEnumerator() System.Collections.IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()Function System.Collections.IEnumerable.GetEnumerator As IEnumerator Implements IEnumerable.GetEnumerator
Returns
System.Collections.IEnumerator System.Collections.IEnumerator