CoreTweet  2.0.0-beta.2
Yet another .NET Twitter Library
Public Member Functions | Public Attributes | Properties | List of all members
CoreTweet.Core.ListedResponse< T > Class Template Reference

The collection of response. More...

Inheritance diagram for CoreTweet.Core.ListedResponse< T >:
CoreTweet.Core.ITwitterResponse

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...
 
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...
 

Detailed Description

The collection of response.

Constructor & Destructor Documentation

◆ ListedResponse() [1/2]

CoreTweet.Core.ListedResponse< T >.ListedResponse ( List< T >  collection)
inline

Initializes a new instance of the CoreTweet.Core.ListedResponse<T> class with a specified collection.

Parameters
collectionThe collection whose elements are copied to the new ListedResponse<T>.

◆ ListedResponse() [2/2]

CoreTweet.Core.ListedResponse< T >.ListedResponse ( List< T >  collection,
RateLimit  rateLimit,
string  json 
)
inline

Initializes a new instance of the CoreTweet.Core.ListedResponse<T> class with a specified collection and rate limit.

Parameters
collectionThe collection whose elements are copied to the new ListedResponse<T>.
rateLimitThe rate limit.
jsonThe JSON.

Member Function Documentation

◆ GetEnumerator()

IEnumerator<T> CoreTweet.Core.ListedResponse< T >.GetEnumerator ( )

Returns an enumerator that iterates through a collection.

Returns
An IEnumerator object that can be used to iterate through the collection.

Member Data Documentation

◆ Count

int CoreTweet.Core.ListedResponse< T >.Count => this.innerList.Count

Gets the number of elements actually contained in the ListedResponse<T>.

◆ this[int index]

T CoreTweet.Core.ListedResponse< T >.this[int index] => this.innerList[index]

Gets the element at the specified index.

Parameters
indexThe zero-based index of the element to get or set.
Returns
The element at the specified index.

Property Documentation

◆ Json

string CoreTweet.Core.ListedResponse< T >.Json
getset

Gets or sets the JSON of the response.

◆ RateLimit

Gets or sets the rate limit of the response.


The documentation for this class was generated from the following file: