Class ReadOnlyListSelection<TSource, T>
Inheritance
ReadOnlyListSelection<TSource, T>
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
|
Edit this page
View Source
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
|
Edit this page
View Source
this[int]
Declaration
public T this[int index] { get; set; }
Parameters
Type |
Name |
Description |
int |
index |
|
Property Value
Methods
|
Edit this page
View Source
Add(T)
Declaration
Parameters
Type |
Name |
Description |
T |
item |
|
|
Edit this page
View Source
Clear()
Declaration
|
Edit this page
View Source
Contains(T)
Declaration
public bool Contains(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
|
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
|
Edit this page
View Source
IndexOf(T)
Declaration
public int IndexOf(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
|
Edit this page
View Source
Remove(T)
Declaration
public bool Remove(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
Implements