Class CombinedInfoObjectCollection<CollectionType, ObjectType>
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Collection that combines several info object collections of specific type.
public abstract class CombinedInfoObjectCollection<CollectionType, ObjectType> where CollectionType : IInfoObjectCollection, IEnumerable<ObjectType>
Type Parameters
CollectionType
ObjectType
- Inheritance
-
objectCombinedInfoObjectCollection<CollectionType, ObjectType>
- Derived
- Extension Methods
Properties
Collections
List of inner collections.
protected List<CollectionType> Collections { get; }
Property Value
- List<CollectionType>
Methods
Add(CollectionType)
Adds the collection to the combined collection.
public void Add(CollectionType collection)
Parameters
collection
CollectionTypeCollection to add
GetEnumerator()
Gets the enumerator over the collection.
public IEnumerator<ObjectType> GetEnumerator()
Returns
- IEnumerator<ObjectType>
SubmitChanges()
Submits the changes in the collection to the database.
public abstract void SubmitChanges()