Namespace: Semata.DataStore.ObjectModel
Class: ItemObjectCollection<I>
Constructs as new instance of ItemObjectCollection
public ItemObjectCollection(ItemObjectSource<I> itemObjectSource, Func<I> addNewItemObject, Action<I> addItemObject, Action<I> removeItemObject)
Parameters
Type | Name | Description |
ItemObjectSource<I> | itemObjectSource | The source of the ItemObjects |
Func<I> | addNewItemObject | A delegate that creates a new ItemObject and adds it to the set. |
Action<I> | addItemObject | A delegate that adds an existing ItemObject to the set. |
Action<I> | removeItemObject | A delegate that removes an ItemObject from the set. |