ChildCollection<TParent, TChild>

class ChildCollection<TParent, TChild> : System.Collections.ObjectModel.Collection<TChild>, System.Collections.Generic.IList<TChild>, System.Collections.Generic.ICollection<TChild>, System.Collections.Generic.IEnumerable<TChild>, System.Collections.IEnumerable, System.Collections.IList, System.Collections.ICollection, System.Collections.Generic.IReadOnlyList<TChild>, System.Collections.Generic.IReadOnlyCollection<TChild>

Provides a collection of child objects for a content item.

Links from a child object to its parent are maintained as the collection contents are modified.

Type Parameters:
 
  • TParent
  • TChild
protected abstract Microsoft.Xna.Framework.Content.Pipeline.TParent GetParent(Microsoft.Xna.Framework.Content.Pipeline.TChild child)
Parameters:
  • child (Microsoft.Xna.Framework.Content.Pipeline.TChild) –
protected abstract void SetParent(Microsoft.Xna.Framework.Content.Pipeline.TChild child, Microsoft.Xna.Framework.Content.Pipeline.TParent parent)
Parameters:
  • child (Microsoft.Xna.Framework.Content.Pipeline.TChild) –
  • parent (Microsoft.Xna.Framework.Content.Pipeline.TParent) –