[This is preliminary documentation and is subject to change.]
The DictionaryWithEvents<(Of <(<'TKey, TValue>)>)> type exposes the following members.
Constructors
Methods
Extension Methods
| Name | Description | |
|---|---|---|
| IndexOf<(Of <<'(TValue>)>>) | Gets index of first occurence of given item in given collection (Defined by EnumerableT.) | |
| Last<(Of <<'(TValue>)>>) | Gets last item in collection (Defined by CollectionTools.) | |
| UnionAll<(Of <<'(TValue>)>>)(array<IEnumerable<(Of <<'(TValue>)>>)>[]()[][]) | Overloaded. Creates union of given collection with other given collections (Defined by EnumerableT.) | |
| UnionAll<(Of <<'(TValue>)>>)(IEnumerable<(Of <<'(IEnumerable<(Of <<'(TValue>)>>)>)>>)) | Overloaded. Creates union of given collection with other given collections (Defined by EnumerableT.) |
Properties
| Name | Description | |
|---|---|---|
| AddingReadOnly | ||
| AllowAddCancelableEventsHandlers | Determines if it is allowed to add handlers for events that supports cancellation | |
| CancelError | Gets value indicating if an OperationCanceledException is thrown when item operation is canceled in event handler. | |
| Count | Gets the number of elements contained in the ICollection. | |
| InternalDict | Gives access to underlying Dictionary<(Of <(<'TKey, TValue>)>)> | |
| Item | Gets or sets the element with the specified key. | |
| Keys | Gets an ICollection<(Of <(<'T>)>)> containing the keys of the IDictionary<(Of <(<'TKey, TValue>)>)>. | |
| Locked | Determines if the DictionaryWithEvents<(Of <(<'TKey, TValue>)>)> isn locked (being locked prevents if from being edited) | |
| SyncRoot | Gets an object that can be used to synchronize access to the ICollection. | |
| Values | Gets an ICollection<(Of <(<'T>)>)> containing the values in the IDictionary<(Of <(<'TKey, TValue>)>)>. |
Events
| Name | Description | |
|---|---|---|
| Added | Raised after an item is added to the list. Raised by the Add(TKey, TValue) method | |
| Adding | Raised before an item is added to the list. Raised by the Add(TKey, TValue) methods | |
| Cleared | Raised after the list is cleared. Raised by Clear()()()() method. | |
| Clearing | Raised before the list is cleared. Raised by Clear()()()() method. | |
| CollectionChanged | Raised when this DictionaryWithEvents<(Of <(<'TKey, TValue>)>)> collection changes. | |
| Changed | Raised when value of member changes | |
| ItemChanged | Raised after item in the list is changed. Raised by setter of Item[([( TKey])]) property. | |
| ItemChanging | Raised before an item is changed. Raised by setter of Item[([( TKey])]) property. | |
| ItemValueChanged | Raised when any of items that is of type IReportsChange raises Changed event | |
| Removed | Raised after the list is cleared. Raised by Remove(TKey) method. | |
| Removing | Raised before item is removed from the list. Raised by Remove(TKey) method. |