| CollectionObserverTItem Class |
Utility class to observe the items of a collection.
Can be used e.g. when the single items have an event that should be forwarded to a common context event.
Inheritance Hierarchy SystemObject Slash.Unity.DataBind.Foundation.UtilsCollectionObserverTItem
Namespace:
Slash.Unity.DataBind.Foundation.Utils
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public class CollectionObserver<TItem>
Public Class CollectionObserver(Of TItem)
generic<typename TItem>
public ref class CollectionObserver
type CollectionObserver<'TItem> = class end
Type Parameters
- TItem
- Type of items in the collection.
The CollectionObserverTItem type exposes the following members.
Constructors Methods
| Name | Description |
---|
| Deinit |
Deinitializes the observer.
|
| Init |
Initializes the observer.
|
TopEvents
| Name | Description |
---|
| RegisterItem |
Action to call after an item enters the collection.
|
| UnregisterItem |
Action to call before an item leaves the collection.
|
TopSee Also