Dictionary type that is serializable with the SerializationFormatterFactory.GetFormatter().
More...
|
| object? | GetValueOrNull (string key) |
| | Retrieves the value associated with the specified key from the local context.- Parameters
-
| key | The key of the value to get. |
- Returns
- The value associated with the specified key, or null if the key does not exist.
- Exceptions
-
| ArgumentNullException | key is null. |
|
| void | Add (object key, object? value) |
| void | Remove (object key) |
| bool | TryAdd (object key, object? value) |
| bool | ContainsKey (object key) |
| bool | TryRemove (object key, out object? value) |
| bool | TryGetValue (object key, out object? value) |
| bool | TryUpdate (object key, object? newValue, object? comparisonValue) |
| object? | GetOrAdd (object key, Func< object?, object?> valueFactory) |
| object? | GetOrAdd (object key, object? value) |
| object? | AddOrUpdate (object key, Func< object?, object?> addValueFactory, Func< object?, object?, object?> updateValueFactory) |
| object? | AddOrUpdate (object key, object? addValue, Func< object?, object?, object?> updateValueFactory) |
Dictionary type that is serializable with the SerializationFormatterFactory.GetFormatter().
◆ Add()
| void Csla.Core.ContextDictionary.Add |
( |
object | key, |
|
|
object? | value ) |
|
inline |
◆ GetValueOrNull()
| object? Csla.Core.ContextDictionary.GetValueOrNull |
( |
string | key | ) |
|
|
inline |
Retrieves the value associated with the specified key from the local context.
- Parameters
-
| key | The key of the value to get. |
- Returns
- The value associated with the specified key, or null if the key does not exist.
- Exceptions
-
| ArgumentNullException | key is null. |
Implements Csla.Core.IContextDictionary.
◆ Remove()
| void Csla.Core.ContextDictionary.Remove |
( |
object | key | ) |
|
|
inline |
◆ IsFixedSize
| bool Csla.Core.ContextDictionary.IsFixedSize |
|
get |
◆ IsReadOnly
| bool Csla.Core.ContextDictionary.IsReadOnly |
|
get |
◆ IsSynchronized
| bool Csla.Core.ContextDictionary.IsSynchronized |
|
get |
◆ SyncRoot
| object Csla.Core.ContextDictionary.SyncRoot |
|
get |
The documentation for this class was generated from the following file: