Class SerializableList<T>
A wrapper class of an array of serializable objects.
Inheritance
SerializableList<T>
Assembly: LobsterFramework.dll
Syntax
[Serializable]
public class SerializableList<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
Name |
Description |
T |
The type of serializable object to be stored in the array
|
Fields
|
Improve this Doc
View Source
items
Declaration
[SerializeField]
protected List<T> items
Field Value
Properties
|
Improve this Doc
View Source
Count
Declaration
public int Count { get; }
Property Value
|
Improve this Doc
View Source
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
|
Improve this Doc
View Source
this[int]
Declaration
public T this[int index] { get; set; }
Parameters
Type |
Name |
Description |
int |
index |
|
Property Value
Methods
|
Improve this Doc
View Source
Add(T)
Declaration
Parameters
Type |
Name |
Description |
T |
item |
|
|
Improve this Doc
View Source
Clear()
Declaration
|
Improve this Doc
View Source
Contains(T)
Declaration
public bool Contains(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
|
Improve this Doc
View Source
CopyTo(T[], int)
Declaration
public void CopyTo(T[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
T[] |
array |
|
int |
arrayIndex |
|
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator<T> GetEnumerator()
Returns
|
Improve this Doc
View Source
IndexOf(T)
Declaration
public int IndexOf(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
|
Improve this Doc
View Source
Insert(int, T)
Declaration
public void Insert(int index, T item)
Parameters
Type |
Name |
Description |
int |
index |
|
T |
item |
|
|
Improve this Doc
View Source
Remove(T)
Declaration
public bool Remove(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
|
Improve this Doc
View Source
RemoveAt(int)
Declaration
public void RemoveAt(int index)
Parameters
Type |
Name |
Description |
int |
index |
|
Implements