Show / Hide Table of Contents

Class ReadOnlyListSelection<TSource, T>

Inheritance
object
ReadOnlyListSelection<TSource, T>
Implements
IList<T>
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.Generic
Assembly: NMF.Collections.dll
Syntax
public class ReadOnlyListSelection<TSource, T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
Name Description
TSource
T

Constructors

| Edit this page View Source

ReadOnlyListSelection(IList<TSource>, Func<TSource, T>)

Declaration
public ReadOnlyListSelection(IList<TSource> source, Func<TSource, T> selector)
Parameters
Type Name Description
IList<TSource> source
Func<TSource, T> selector

Properties

| Edit this page View Source

Count

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

IsReadOnly

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

this[int]

Declaration
public T this[int index] { get; set; }
Parameters
Type Name Description
int index
Property Value
Type Description
T

Methods

| Edit this page View Source

Add(T)

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

Clear()

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

Contains(T)

Declaration
public 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

IndexOf(T)

Declaration
public int IndexOf(T item)
Parameters
Type Name Description
T item
Returns
Type Description
int
| Edit this page View Source

Remove(T)

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

Implements

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