Show / Hide Table of Contents

Class CustomCollection<T>

Inheritance
object
CustomCollection<T>
Implements
ICollectionExpression<T>
IEnumerableExpression<T>
IEnumerableExpression
ICollection<T>
IEnumerable<T>
IEnumerable
Inherited Members
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 CustomCollection<T> : ICollectionExpression<T>, IEnumerableExpression<T>, IEnumerableExpression, ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
Name Description
T

Constructors

| Edit this page View Source

CustomCollection(IEnumerableExpression<T>)

Declaration
public CustomCollection(IEnumerableExpression<T> inner)
Parameters
Type Name Description
IEnumerableExpression<T> inner

Properties

| Edit this page View Source

Count

Declaration
public int Count { get; }
Property Value
Type Description
int
| Edit this page View Source

Inner

Declaration
public IEnumerableExpression<T> Inner { get; }
Property Value
Type Description
IEnumerableExpression<T>
| Edit this page View Source

IsReadOnly

Declaration
public bool IsReadOnly { get; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

Add(T)

Declaration
public abstract void Add(T item)
Parameters
Type Name Description
T item
| Edit this page View Source

AsNotifiable()

Gets notifications for this collection

Declaration
public INotifyCollection<T> AsNotifiable()
Returns
Type Description
INotifyCollection<T>

A collection that will notify clients as new elements change

| Edit this page View Source

Clear()

Declaration
public abstract void Clear()
| Edit this page View Source

Contains(T)

Declaration
public virtual bool Contains(T item)
Parameters
Type Name Description
T item
Returns
Type Description
bool
| Edit this page View Source

CopyTo(T[], int)

Declaration
public void CopyTo(T[] array, int arrayIndex)
Parameters
Type Name Description
T[] array
int arrayIndex
| Edit this page View Source

GetEnumerator()

Declaration
public IEnumerator<T> GetEnumerator()
Returns
Type Description
IEnumerator<T>
| Edit this page View Source

Remove(T)

Declaration
public abstract bool Remove(T item)
Parameters
Type Name Description
T item
Returns
Type Description
bool

Implements

ICollectionExpression<T>
IEnumerableExpression<T>
IEnumerableExpression
ICollection<T>
IEnumerable<T>
IEnumerable
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX