Show / Hide Table of Contents

Class ChildItemCollection

Represents a collection of IVersionable items that are children of some other IVersionable item.

Inheritance
Object
Collection<IVersionable>
ChildItemCollection
Implements
IList<IVersionable>
ICollection<IVersionable>
IList
ICollection
IReadOnlyList<IVersionable>
IReadOnlyCollection<IVersionable>
IEnumerable<IVersionable>
IEnumerable
Inherited Members
Collection<IVersionable>.Add(IVersionable)
Collection<IVersionable>.Clear()
Collection<IVersionable>.CopyTo(IVersionable[], Int32)
Collection<IVersionable>.Contains(IVersionable)
Collection<IVersionable>.GetEnumerator()
Collection<IVersionable>.IndexOf(IVersionable)
Collection<IVersionable>.Insert(Int32, IVersionable)
Collection<IVersionable>.Remove(IVersionable)
Collection<IVersionable>.RemoveAt(Int32)
Collection<IVersionable>.ClearItems()
Collection<IVersionable>.InsertItem(Int32, IVersionable)
Collection<IVersionable>.RemoveItem(Int32)
Collection<IVersionable>.SetItem(Int32, IVersionable)
Collection<IVersionable>.IEnumerable.GetEnumerator()
Collection<IVersionable>.ICollection.CopyTo(Array, Int32)
System.Collections.ObjectModel.Collection<Algenta.Colectica.Model.IVersionable>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Algenta.Colectica.Model.IVersionable>.System.Collections.IList.set_Item(System.Int32, System.Object)
Collection<IVersionable>.IList.Add(Object)
Collection<IVersionable>.IList.Contains(Object)
Collection<IVersionable>.IList.IndexOf(Object)
Collection<IVersionable>.IList.Insert(Int32, Object)
Collection<IVersionable>.IList.Remove(Object)
Collection<IVersionable>.Count
Collection<IVersionable>.Items
Collection<IVersionable>.Item[Int32]
Collection<IVersionable>.ICollection<IVersionable>.IsReadOnly
Collection<IVersionable>.ICollection.IsSynchronized
Collection<IVersionable>.ICollection.SyncRoot
Collection<IVersionable>.IList.Item[Int32]
Collection<IVersionable>.IList.IsReadOnly
Collection<IVersionable>.IList.IsFixedSize
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
public class ChildItemCollection : Collection<IVersionable>, IList<IVersionable>, ICollection<IVersionable>, IList, ICollection, IReadOnlyList<IVersionable>, IReadOnlyCollection<IVersionable>, IEnumerable<IVersionable>, IEnumerable

Constructors

ChildItemCollection(IVersionable)

Create a new child collection object tied to a parent

Declaration
public ChildItemCollection(IVersionable parent = null)
Parameters
Type Name Description
IVersionable parent

Properties

NonConcreteReferences

Child items that are referenced but never instantiated as a child in the object model.

Declaration
public Collection<TypedIdTriple> NonConcreteReferences { get; set; }
Property Value
Type Description
Collection<TypedIdTriple>

Parent

The parent item of the child items

Declaration
public IVersionable Parent { get; set; }
Property Value
Type Description
IVersionable

Methods

GetAllRelationships()

Get all relationships that can be either instantiated in the model or are non concrete references.

Declaration
public IEnumerable<TypedIdTriple> GetAllRelationships()
Returns
Type Description
IEnumerable<TypedIdTriple>

Typed identifiers of all referenced items.

Implements

System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable

Extension Methods

Extensions.Yield<T>(T)
Extensions.ToChunks<T>(Collection<T>, Int32)
Extensions.ToIdentifierCollection(IEnumerable<IVersionable>)
Extensions.ToCollection(IEnumerable<IVersionable>)
Extensions.Merge<T>(ICollection<T>, IEnumerable<T>)
Extensions.ReplaceChild<T>(IList<T>, IdentifierTriple, IVersionable)
IdentifierExtensions.GetItem(Collection<IVersionable>, IdentifierTriple)
In This Article
Back to top Generated by DocFX