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
- System.​Collections.​Generic.​IList`1 (Inherits: ICollection<​KeyValuePair<​string, string>>IEnumerable<​KeyValuePair<​string, string>>IEnumerable) Implemented by: List<​KeyValuePair<​string, string>>
- System.​Collections.​Generic.​IReadOnlyList`1 (Inherits: IEnumerable<​KeyValuePair<​string, string>>IEnumerableIReadOnlyCollection<​KeyValuePair<​string, string>>) Implemented by: List<​KeyValuePair<​string, string>>
- System.​Collections.​IList (Inherits: ICollectionIEnumerable) Implemented by: List<​KeyValuePair<​string, string>>
Models a list of request parameters
Properties
public
System.​Collections.​Generic.​IEnumerable<​string>
Item
public
int
Capacity
public
int
Count
public
System.​Collections.​Generic.​KeyValuePair<​string, string>
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.
public
System.​Collections.​Generic.​IEnumerable<​string>
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
void
Add​(System.​Collections.​Generic.​KeyValuePair<​string, string> item)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
void
AddRange​(System.​Collections.​Generic.​IEnumerable<​System.​Collections.​Generic.​KeyValuePair<​string, string>> collection)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
System.​Collections.​ObjectModel.​ReadOnlyCollection<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
AsReadOnly​()
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
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)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
int
BinarySearch​(System.​Collections.​Generic.​KeyValuePair<​string, string> item)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
int
BinarySearch​(System.​Collections.​Generic.​KeyValuePair<​string, string> item,
System.​Collections.​Generic.​IComparer?<​System.​Collections.​Generic.​KeyValuePair<​string, string>> comparer)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
void
Clear​()
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
bool
Contains​(System.​Collections.​Generic.​KeyValuePair<​string, string> item)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
System.​Collections.​Generic.​List<​TOutput>
ConvertAll​(System.​Converter<​System.​Collections.​Generic.​KeyValuePair<​string, string>, TOutput> converter)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
void
CopyTo​(int index,
System.​Collections.​Generic.​KeyValuePair[] array,
int arrayIndex,
int count)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
void
CopyTo​(System.​Collections.​Generic.​KeyValuePair[] array)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
void
CopyTo​(System.​Collections.​Generic.​KeyValuePair[] array,
int arrayIndex)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
int
EnsureCapacity​(int capacity)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
bool
Exists​(System.​Predicate<​System.​Collections.​Generic.​KeyValuePair<​string, string>> match)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
System.​Collections.​Generic.​KeyValuePair<​string, string>
Find​(System.​Predicate<​System.​Collections.​Generic.​KeyValuePair<​string, string>> match)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
FindAll​(System.​Predicate<​System.​Collections.​Generic.​KeyValuePair<​string, string>> match)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
int
FindIndex​(int startIndex,
int count,
System.​Predicate<​System.​Collections.​Generic.​KeyValuePair<​string, string>> match)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
int
FindIndex​(int startIndex,
System.​Predicate<​System.​Collections.​Generic.​KeyValuePair<​string, string>> match)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
int
FindIndex​(System.​Predicate<​System.​Collections.​Generic.​KeyValuePair<​string, string>> match)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
System.​Collections.​Generic.​KeyValuePair<​string, string>
FindLast​(System.​Predicate<​System.​Collections.​Generic.​KeyValuePair<​string, string>> match)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
int
FindLastIndex​(int startIndex,
int count,
System.​Predicate<​System.​Collections.​Generic.​KeyValuePair<​string, string>> match)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
int
FindLastIndex​(int startIndex,
System.​Predicate<​System.​Collections.​Generic.​KeyValuePair<​string, string>> match)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
int
FindLastIndex​(System.​Predicate<​System.​Collections.​Generic.​KeyValuePair<​string, string>> match)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
void
ForEach​(System.​Action<​System.​Collections.​Generic.​KeyValuePair<​string, string>> action)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
System.​Collections.​Generic.​Enumerator<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
GetEnumerator​()
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
GetRange​(int index,
int count)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
int
IndexOf​(System.​Collections.​Generic.​KeyValuePair<​string, string> item)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
int
IndexOf​(System.​Collections.​Generic.​KeyValuePair<​string, string> item,
int index)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
int
IndexOf​(System.​Collections.​Generic.​KeyValuePair<​string, string> item,
int index,
int count)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
void
Insert​(int index,
System.​Collections.​Generic.​KeyValuePair<​string, string> item)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
void
InsertRange​(int index,
System.​Collections.​Generic.​IEnumerable<​System.​Collections.​Generic.​KeyValuePair<​string, string>> collection)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
int
LastIndexOf​(System.​Collections.​Generic.​KeyValuePair<​string, string> item)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
int
LastIndexOf​(System.​Collections.​Generic.​KeyValuePair<​string, string> item,
int index)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
int
LastIndexOf​(System.​Collections.​Generic.​KeyValuePair<​string, string> item,
int index,
int count)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
bool
Remove​(System.​Collections.​Generic.​KeyValuePair<​string, string> item)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
int
RemoveAll​(System.​Predicate<​System.​Collections.​Generic.​KeyValuePair<​string, string>> match)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
void
RemoveAt​(int index)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
void
RemoveRange​(int index,
int count)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
void
Reverse​()
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
void
Reverse​(int index,
int count)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
Slice​(int start,
int length)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
void
Sort​()
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
void
Sort​(System.​Collections.​Generic.​IComparer?<​System.​Collections.​Generic.​KeyValuePair<​string, string>> comparer)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
void
Sort​(System.​Comparison<​System.​Collections.​Generic.​KeyValuePair<​string, string>> comparison)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
void
Sort​(int index,
int count,
System.​Collections.​Generic.​IComparer?<​System.​Collections.​Generic.​KeyValuePair<​string, string>> comparer)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
ToArray​()
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
void
TrimExcess​()
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
bool
TrueForAll​(System.​Predicate<​System.​Collections.​Generic.​KeyValuePair<​string, string>> match)
Inherited from System.​Collections.​Generic.​List<​System.​Collections.​Generic.​KeyValuePair<​string, string>>
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object