Class GltfIdList<T>
public class GltfIdList<T> : IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable where T : GltfIdObject
Type Parameters
T
- Inheritance
-
GltfIdList<T>
- Implements
-
IEnumerable<T>
- Inherited Members
Properties
Count
Gets the number of elements in the collection.
public int Count { get; }
Property Value
- int
The number of elements in the collection.
this[int]
Gets the element at the specified index in the read-only list.
public T this[int index] { get; }
Parameters
index
intThe zero-based index of the element to get.
Property Value
- T
The element at the specified index in the read-only list.
Methods
Append(T)
public int Append(T item)
Parameters
item
T
Returns
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<T> GetEnumerator()
Returns
- IEnumerator<T>
An enumerator that can be used to iterate through the collection.
IsSet(int)
public bool IsSet(int i)
Parameters
i
int
Returns
RemoveAt(int)
public void RemoveAt(int index)
Parameters
index
int