Show / Hide Table of Contents

Class OppositeList<TParent, TCollected>

Inheritance
object
Collection<TCollected>
OppositeList<TParent, TCollected>
Implements
IList<TCollected>
ICollection<TCollected>
IReadOnlyList<TCollected>
IReadOnlyCollection<TCollected>
IEnumerable<TCollected>
IList
ICollection
IEnumerable
Inherited Members
Collection<TCollected>.Add(TCollected)
Collection<TCollected>.Clear()
Collection<TCollected>.Contains(TCollected)
Collection<TCollected>.CopyTo(TCollected[], int)
Collection<TCollected>.GetEnumerator()
Collection<TCollected>.IndexOf(TCollected)
Collection<TCollected>.Insert(int, TCollected)
Collection<TCollected>.Remove(TCollected)
Collection<TCollected>.RemoveAt(int)
Collection<TCollected>.Count
Collection<TCollected>.this[int]
Collection<TCollected>.Items
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Collections.ObjectModel
Assembly: NMF.Collections.dll
Syntax
public abstract class OppositeList<TParent, TCollected> : Collection<TCollected>, IList<TCollected>, ICollection<TCollected>, IReadOnlyList<TCollected>, IReadOnlyCollection<TCollected>, IEnumerable<TCollected>, IList, ICollection, IEnumerable
Type Parameters
Name Description
TParent
TCollected

Constructors

| Edit this page View Source

OppositeList(TParent)

Declaration
protected OppositeList(TParent parent)
Parameters
Type Name Description
TParent parent

Properties

| Edit this page View Source

Parent

Declaration
public TParent Parent { get; }
Property Value
Type Description
TParent

Methods

| Edit this page View Source

ClearItems()

Declaration
protected override void ClearItems()
Overrides
Collection<TCollected>.ClearItems()
| Edit this page View Source

InsertItem(int, TCollected)

Declaration
protected override void InsertItem(int index, TCollected item)
Parameters
Type Name Description
int index
TCollected item
Overrides
Collection<TCollected>.InsertItem(int, TCollected)
| Edit this page View Source

RemoveItem(int)

Declaration
protected override void RemoveItem(int index)
Parameters
Type Name Description
int index
Overrides
Collection<TCollected>.RemoveItem(int)
| Edit this page View Source

SetItem(int, TCollected)

Declaration
protected override void SetItem(int index, TCollected item)
Parameters
Type Name Description
int index
TCollected item
Overrides
Collection<TCollected>.SetItem(int, TCollected)
| Edit this page View Source

SetOpposite(TCollected, TParent)

Declaration
protected abstract void SetOpposite(TCollected item, TParent newParent)
Parameters
Type Name Description
TCollected item
TParent newParent

Implements

IList<T>
ICollection<T>
IReadOnlyList<T>
IReadOnlyCollection<T>
IEnumerable<T>
IList
ICollection
IEnumerable
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX