Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Duende.​IdentityModel.​Client.​Parameters

Assembly: Duende.IdentityModel

Inheritance: object → System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>> → Parameters

Implemented Interfaces

Models a list of request parameters

Properties

public int
Capacity
public int
Count
Item

Methods

public static Parameters
FromObject​(object values)
Turns anonymous type or dictionary in Parameters (mainly for backwards compatibility)
public void
Add​(string key, string value, ParameterReplaceBehavior parameterReplace = 0)
Adds a key/value to the list
key The key.
value The value
parameterReplace Replace behavior.
GetValues​(string name)
Get parameter values based on name
public bool
ContainsKey​(string key)
Checks the existence of a parameter
public void
AddOptional​(string key, string value, bool allowDuplicates = false)
Adds a parameter if it has a value
key The key.
value The value.
allowDuplicates Allow multiple values of the same parameter.
public void
AddRequired​(string key, string value, bool allowDuplicates = false, bool allowEmptyValue = false)
Ensures that a required parameter is present, adding it if necessary.
key The key.
value The value.
allowDuplicates Allow multiple distinct values for a duplicated parameter key.
allowEmptyValue Allow an empty value.
public Parameters
Merge​(Parameters? additionalValues = null)
Merge two parameter sets
Returns Merged parameters
public int
BinarySearch​(int index, int count, System.​Collections.​Generic.​KeyValuePair<​string, string> item, System.​Collections.​Generic.​IComparer?<​System.​Collections.​Generic.​KeyValuePair<​string, string>> comparer)
public int
BinarySearch​(System.​Collections.​Generic.​KeyValuePair<​string, string> item)
public void
Clear​()
public bool
Contains​(System.​Collections.​Generic.​KeyValuePair<​string, string> item)
public void
CopyTo​(int index, System.​Collections.​Generic.​KeyValuePair[] array, int arrayIndex, int count)
public void
CopyTo​(System.​Collections.​Generic.​KeyValuePair[] array, int arrayIndex)
public int
EnsureCapacity​(int capacity)
public int
FindIndex​(int startIndex, int count, System.​Predicate<​System.​Collections.​Generic.​KeyValuePair<​string, string>> match)
public int
FindIndex​(int startIndex, System.​Predicate<​System.​Collections.​Generic.​KeyValuePair<​string, string>> match)
public int
FindLastIndex​(int startIndex, int count, System.​Predicate<​System.​Collections.​Generic.​KeyValuePair<​string, string>> match)
public int
FindLastIndex​(int startIndex, System.​Predicate<​System.​Collections.​Generic.​KeyValuePair<​string, string>> match)
public int
IndexOf​(System.​Collections.​Generic.​KeyValuePair<​string, string> item, int index)
public int
IndexOf​(System.​Collections.​Generic.​KeyValuePair<​string, string> item, int index, int count)
public void
Insert​(int index, System.​Collections.​Generic.​KeyValuePair<​string, string> item)
public int
LastIndexOf​(System.​Collections.​Generic.​KeyValuePair<​string, string> item)
public int
LastIndexOf​(System.​Collections.​Generic.​KeyValuePair<​string, string> item, int index)
public int
LastIndexOf​(System.​Collections.​Generic.​KeyValuePair<​string, string> item, int index, int count)
public void
RemoveAt​(int index)
public void
RemoveRange​(int index, int count)
public void
Reverse​()
public void
Reverse​(int index, int count)
public void
Sort​()
public void
Sort​(int index, int count, System.​Collections.​Generic.​IComparer?<​System.​Collections.​Generic.​KeyValuePair<​string, string>> comparer)
public void
TrimExcess​()
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object