_Data
: List< T > |
This is a protected field that stores the actual list of objects. It is used by the DeserializableList class to store the data that is deserialized from JSON.
Signature
List<T> Oculus.Platform.Models.DeserializableList< T >._Data |
_NextUrl
: string |
This is a protected field that store the URLs for the next pages of data. It allows you to retrieve additional data beyond the initial page.
Signature
string Oculus.Platform.Models.DeserializableList< T >._NextUrl |
_PreviousUrl
: string |
This is a protected field that store the URLs for the previous pages of data. It allows you to retrieve additional data beyond the initial page.
Signature
string Oculus.Platform.Models.DeserializableList< T >._PreviousUrl |
Count
: int
[Get] |
The number of elements contained within this list. This is not equal to the total number of elements across multiple pages.
Signature
int Oculus.Platform.Models.DeserializableList< T >.Count |
Data
: List< T >
[Get] |
Signature
List<T> Oculus.Platform.Models.DeserializableList< T >.Data |
HasNextPage
: bool
[Get] |
This property returns a value indicating whether there is a next page of elements that can be retrieved, allowing for pagination of large datasets.
Signature
bool Oculus.Platform.Models.DeserializableList< T >.HasNextPage |
HasPreviousPage
: bool
[Get] |
This property returns a value indicating whether there is a previous page of elements that can be retrieved, allowing for navigation through paginated data.
Signature
bool Oculus.Platform.Models.DeserializableList< T >.HasPreviousPage |
NextUrl
: string
[Get] |
This property returns the URL to request the next paginated list of elements, providing a way to retrieve additional data.
Signature
string Oculus.Platform.Models.DeserializableList< T >.NextUrl |
PreviousUrl
: string
[Get] |
This property returns the URL to request the previous paginated list of elements, providing a way to navigate back through paginated data.
Signature
string Oculus.Platform.Models.DeserializableList< T >.PreviousUrl |
this[int index]
: T
[Get][Set] |
Access the indexed element in this list.
Signature
T Oculus.Platform.Models.DeserializableList< T >.this[int index] |
Add
(
item
)
|
This method adds an item to the end of the list, increasing its size by one.
Signature
void Oculus.Platform.Models.DeserializableList< T >.Add(T item) Parameters item: TReturns void |
Clear
()
|
This method removes all items from the list, leaving it empty and with a count of zero.
Signature
void Oculus.Platform.Models.DeserializableList< T >.Clear() Returns void |
Contains
(
item
)
|
This method determines whether the list contains a specific value, returning true if it is found and false otherwise.
Signature
bool Oculus.Platform.Models.DeserializableList< T >.Contains(T item) Parameters item: TReturns bool |
CopyTo
(
array
, arrayIndex
)
|
This method copies the elements of the list to an array, starting at a specified array index, allowing for efficient transfer of data.
Signature
void Oculus.Platform.Models.DeserializableList< T >.CopyTo(T[] array, int arrayIndex) Parameters array: T []arrayIndex: intReturns void |
GetEnumerator
()
|
This method returns an enumerator that iterates through the list, providing a way to access each element in sequence. Taken from examples here.aspx)
Signature
IEnumerator<T> Oculus.Platform.Models.DeserializableList< T >.GetEnumerator() Returns IEnumerator< T > |
IndexOf
(
obj
)
|
This method returns the index of the specified object in the list, or -1 if it is not found.
Signature
int Oculus.Platform.Models.DeserializableList< T >.IndexOf(T obj) Parameters obj: TReturns int |
Insert
(
index
, item
)
|
This method inserts an item into the list at a specified index, shifting existing elements to make room.
Signature
void Oculus.Platform.Models.DeserializableList< T >.Insert(int index, T item) Parameters index: intitem: TReturns void |
Remove
(
item
)
|
This method removes the first occurrence of a specific object from the list, decreasing its size by one.
Signature
bool Oculus.Platform.Models.DeserializableList< T >.Remove(T item) Parameters item: TReturns bool |
RemoveAt
(
index
)
|
This method removes the item at the specified index from the list, shifting existing elements to fill the gap.
Signature
void Oculus.Platform.Models.DeserializableList< T >.RemoveAt(int index) Parameters index: intReturns void |