Click or drag to resize

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>

Type Parameters

TItem
Type of items in the collection.

The CollectionObserverTItem type exposes the following members.

Constructors
  NameDescription
Public methodCollectionObserverTItem
Initializes a new instance of the CollectionObserverTItem class
Top
Methods
  NameDescription
Public methodDeinit
Deinitializes the observer.
Public methodInit
Initializes the observer.
Top
Events
  NameDescription
Public eventRegisterItem
Action to call after an item enters the collection.
Public eventUnregisterItem
Action to call before an item leaves the collection.
Top
See Also