Class NonNullableList<T>
Inheritance
NonNullableList<T>
Syntax
public class NonNullableList<T> : IList<T>, ICollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable
Type Parameters
Constructors
NonNullableList()
Declaration
NonNullableList(IEnumerable<T>)
Declaration
public NonNullableList(IEnumerable<T> collection)
Parameters
NonNullableList(Int32)
Declaration
public NonNullableList(int capacity)
Parameters
| Type |
Name |
Description |
| Int32 |
capacity |
|
Properties
Count
Declaration
public int Count { get; }
Property Value
Implements
IsFixedSize
Declaration
public bool IsFixedSize { get; }
Property Value
Implements
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Implements
IsSynchronized
Declaration
public bool IsSynchronized { get; }
Property Value
Implements
Item[Int32]
Declaration
public T this[int index] { get; set; }
Parameters
| Type |
Name |
Description |
| Int32 |
index |
|
Property Value
Implements
SyncRoot
Declaration
public object SyncRoot { get; }
Property Value
Implements
Methods
Add(T)
Declaration
Parameters
| Type |
Name |
Description |
| T |
item |
|
Implements
Add(Object)
Declaration
public int Add(object value)
Parameters
| Type |
Name |
Description |
| Object |
value |
|
Returns
Implements
AddRange(IEnumerable<T>)
Declaration
public void AddRange(IEnumerable<T> collection)
Parameters
Clear()
Declaration
Implements
Contains(T)
Declaration
public bool Contains(T item)
Parameters
| Type |
Name |
Description |
| T |
item |
|
Returns
Implements
Contains(Object)
Declaration
public bool Contains(object value)
Parameters
| Type |
Name |
Description |
| Object |
value |
|
Returns
Implements
CopyTo(T[], Int32)
Declaration
public void CopyTo(T[] array, int arrayIndex)
Parameters
| Type |
Name |
Description |
| T[] |
array |
|
| Int32 |
arrayIndex |
|
Implements
CopyTo(Array, Int32)
Declaration
public void CopyTo(Array array, int index)
Parameters
Implements
GetEnumerator()
Declaration
public IEnumerator<T> GetEnumerator()
Returns
Implements
IndexOf(T)
Declaration
public int IndexOf(T item)
Parameters
| Type |
Name |
Description |
| T |
item |
|
Returns
Implements
IndexOf(Object)
Declaration
public int IndexOf(object value)
Parameters
| Type |
Name |
Description |
| Object |
value |
|
Returns
Implements
Insert(Int32, T)
Declaration
public void Insert(int index, T item)
Parameters
| Type |
Name |
Description |
| Int32 |
index |
|
| T |
item |
|
Implements
Insert(Int32, Object)
Declaration
public void Insert(int index, object value)
Parameters
Implements
Remove(T)
Declaration
public bool Remove(T item)
Parameters
| Type |
Name |
Description |
| T |
item |
|
Returns
Implements
Remove(Object)
Declaration
public void Remove(object value)
Parameters
| Type |
Name |
Description |
| Object |
value |
|
Implements
RemoveAt(Int32)
Declaration
public void RemoveAt(int index)
Parameters
| Type |
Name |
Description |
| Int32 |
index |
|
Implements
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Implements
IList.Item[Int32]
Declaration
object IList.this[int index] { get; set; }
Parameters
| Type |
Name |
Description |
| Int32 |
index |
|
Returns
Implements
Extension Methods