CoreTweet  2.0.0-beta.2
Yet another .NET Twitter Library
Public Member Functions | Public Attributes | Properties | List of all members
CoreTweet.SearchResult Class Reference

Represents a collection of Tweets. More...

Inheritance diagram for CoreTweet.SearchResult:
CoreTweet.Core.CoreBase CoreTweet.Core.ITwitterResponse

Public Member Functions

IEnumerator< StatusGetEnumerator ()
 Returns an enumerator that iterates through a collection. More...
 

Public Attributes

Status this[int index] => this.statuses[index]
 Gets the element at the specified index. More...
 
int Count => this.statuses.Count
 Gets the number of elements actually contained in the SearchResult. More...
 

Properties

SearchMetadata SearchMetadata [get, set]
 Gets or sets the metadata of the search. 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...
 

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 collection of Tweets.

Member Function Documentation

◆ GetEnumerator()

IEnumerator<Status> CoreTweet.SearchResult.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.SearchResult.Count => this.statuses.Count

Gets the number of elements actually contained in the SearchResult.

◆ this[int index]

Status CoreTweet.SearchResult.this[int index] => this.statuses[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.SearchResult.Json
getset

Gets or sets the JSON of the response.

◆ RateLimit

RateLimit CoreTweet.SearchResult.RateLimit
getset

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.

◆ SearchMetadata

SearchMetadata CoreTweet.SearchResult.SearchMetadata
getset

Gets or sets the metadata of the search.


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