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[], int)
Collection<IVersionable>.Contains(IVersionable)
Collection<IVersionable>.GetEnumerator()
Collection<IVersionable>.IndexOf(IVersionable)
Collection<IVersionable>.Insert(int, IVersionable)
Collection<IVersionable>.Remove(IVersionable)
Collection<IVersionable>.RemoveAt(int)
Collection<IVersionable>.ClearItems()
Collection<IVersionable>.InsertItem(int, IVersionable)
Collection<IVersionable>.RemoveItem(int)
Collection<IVersionable>.SetItem(int, IVersionable)
Collection<IVersionable>.Count
Collection<IVersionable>.Items
Collection<IVersionable>.this[int]
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.

Merge(ChildItemCollection)

Merges two collections.

Declaration
public void Merge(ChildItemCollection second)
Parameters
Type Name Description
ChildItemCollection second

The second collection, which is merged into the first collection.

Implements

IList<T>
ICollection<T>
IList
ICollection
IReadOnlyList<T>
IReadOnlyCollection<T>
IEnumerable<T>
IEnumerable

Extension Methods

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