Class ObservableDictionaryChangeEventArgs<TKey, TValue>
Base class for value event args.
Inheritance
System.Object
ObservableDictionaryChangeEventArgs<TKey, TValue>
Inherited Members
Namespace: Cortex.Net.Types
Assembly: Cortex.Net.dll
Syntax
public class ObservableDictionaryChangeEventArgs<TKey, TValue> : ObservableDictionaryCancellableEventArgs
Type Parameters
| Name | Description |
|---|---|
| TKey | The type of the key that will change. |
| TValue | The type of the value that will change. |
Constructors
| Improve this Doc View SourceObservableDictionaryChangeEventArgs(TKey)
Initializes a new instance of the ObservableDictionaryChangeEventArgs<TKey, TValue> class.
Declaration
public ObservableDictionaryChangeEventArgs(TKey key)
Parameters
| Type | Name | Description |
|---|---|---|
| TKey | key | They key for this item. |
Properties
| Improve this Doc View SourceChanged
Gets a value indicating whether the value has been changed by an event handler.
Declaration
public bool Changed { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Key
Gets the key.
Declaration
public TKey Key { get; }
Property Value
| Type | Description |
|---|---|
| TKey |
NewValue
Gets or sets new value.
Declaration
public TValue NewValue { get; set; }
Property Value
| Type | Description |
|---|---|
| TValue |
OldValue
Gets or sets old value.
Declaration
public TValue OldValue { get; set; }
Property Value
| Type | Description |
|---|---|
| TValue |