CoreTweet  0.9.0
Yet another .NET Twitter Library
Public Member Functions | Public Attributes | Properties | List of all members
CoreTweet.Cursored< T > Class Template Reference

Represents a cursored message object. More...

Inheritance diagram for CoreTweet.Cursored< T >:
CoreTweet.Core.CoreBase CoreTweet.Core.ITwitterResponse CoreTweet.ICursored CoreTweet.ICursorForwardable CoreTweet.ICursorBackwardable

Public Member Functions

IEnumerator< T > GetEnumerator ()
 Returns an enumerator that iterates through a collection. More...
 

Public Attributes

this[int index] => this.Result[index]
 Gets the element at the specified index. More...
 
int Count => this.Result.Length
 Gets the number of elements actually contained in the Cursored<T>. More...
 

Properties

T [] Result [get]
 Gets the results. More...
 
long NextCursor [get, set]
 Gets or sets the next cursor. More...
 
long PreviousCursor [get, set]
 Gets or sets the previous cursor. More...
 
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...
 
- Properties inherited from CoreTweet.ICursorForwardable
string NextCursor [get]
 
- Properties inherited from CoreTweet.ICursorBackwardable
string PreviousCursor [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from CoreTweet.Core.CoreBase
static T Convert< T > (string json, string jsonPath="")
 Converts the JSON to a twitter object of the specified type. More...
 
static List< T > ConvertArray< T > (string json, string jsonPath)
 

Detailed Description

Represents a cursored message object.

Member Function Documentation

◆ GetEnumerator()

IEnumerator<T> CoreTweet.Cursored< T >.GetEnumerator ( )
inline

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.Cursored< T >.Count => this.Result.Length

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

◆ this[int index]

T CoreTweet.Cursored< T >.this[int index] => this.Result[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.Cursored< T >.Json
getset

Gets or sets the JSON of the response.

◆ NextCursor

long CoreTweet.Cursored< T >.NextCursor
getset

Gets or sets the next cursor.

◆ PreviousCursor

long CoreTweet.Cursored< T >.PreviousCursor
getset

Gets or sets the previous cursor.

◆ RateLimit

Gets or sets the rate limit of the response.

This property will always be null when obtained from (most of) the POST endpoints, unless the rate is explicitly stated in the Twitter official documentation.

◆ Result

T [] CoreTweet.Cursored< T >.Result
get

Gets the results.


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