Summary
Stores either a single key value pair or constructs a dictionary when more than one value is stored.
- Namespace
- Avalonia
.Utilities - Interfaces
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["IEnumerable<KeyValuePair<TKey, TValue>>"]
Type-.->Interface1["IEnumerable"]
Type["SingleOrDictionary<TKey, TValue>"]
class Type type-node
Syntax
public class SingleOrDictionary<TKey, TValue> : IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable
Type Parameters
Name | Description |
---|---|
TKey | The type of the key. |
TValue | The type of the value. |
Properties
Methods
Name | Value | Summary |
---|---|---|
Add |
void | |
GetEnumerator |
IEnumerator |
|
TryGetValue |
bool |