CoreTweet
2.0.0-beta.2
Yet another .NET Twitter Library
|
The collection of response. More...
Public Member Functions | |
ListedResponse (List< T > collection) | |
Initializes a new instance of the CoreTweet.Core.ListedResponse<T> class with a specified collection. More... | |
ListedResponse (List< T > collection, RateLimit rateLimit, string json) | |
Initializes a new instance of the CoreTweet.Core.ListedResponse<T> class with a specified collection and rate limit. More... | |
IEnumerator< T > | GetEnumerator () |
Returns an enumerator that iterates through a collection. More... | |
Public Attributes | |
int | Count => this.innerList.Count |
Gets the number of elements actually contained in the ListedResponse<T>. More... | |
T | this[int index] => this.innerList[index] |
Gets the element at the specified index. More... | |
Properties | |
RateLimit | RateLimit [get, set] |
Gets or sets the rate limit of the response. More... | |
string | Json [get, set] |
Gets or sets the JSON of the response. More... | |
Properties inherited from CoreTweet.Core.ITwitterResponse | |
RateLimit | RateLimit [get, set] |
Gets or sets the rate limit of the response. More... | |
string | Json [get, set] |
Gets or sets the JSON of the response. More... | |
The collection of response.
|
inline |
Initializes a new instance of the CoreTweet.Core.ListedResponse<T> class with a specified collection.
collection | The collection whose elements are copied to the new ListedResponse<T>. |
|
inline |
Initializes a new instance of the CoreTweet.Core.ListedResponse<T> class with a specified collection and rate limit.
collection | The collection whose elements are copied to the new ListedResponse<T>. |
rateLimit | The rate limit. |
json | The JSON. |
IEnumerator<T> CoreTweet.Core.ListedResponse< T >.GetEnumerator | ( | ) |
Returns an enumerator that iterates through a collection.
int CoreTweet.Core.ListedResponse< T >.Count => this.innerList.Count |
Gets the number of elements actually contained in the ListedResponse<T>.
T CoreTweet.Core.ListedResponse< T >.this[int index] => this.innerList[index] |
Gets the element at the specified index.
index | The zero-based index of the element to get or set. |
|
getset |
Gets or sets the JSON of the response.
|
getset |
Gets or sets the rate limit of the response.