C++ C#

ItemObjectCollection(ItemObjectSource<I>, Func<I>, Action<I>, Action<I>) Method

API Reference

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.

This website stores cookies on your computer that are used to manage the order in which you see the pages. To find out more about the cookies we use, see our Privacy Policy.