![]() |
CoreTweet
2.0.0-beta.2
Yet another .NET Twitter Library
|
The collection of response. More...
Public Member Functions | |
| DictionaryResponse (Dictionary< TKey, TValue > dictionary) | |
| Initializes a new instance of the CoreTweet.Core.DictionaryResponse<TKey, TValue> class with a specified dictionary. More... | |
| DictionaryResponse (Dictionary< TKey, TValue > dictionary, RateLimit rateLimit, string json) | |
| Initializes a new instance of the CoreTweet.Core.DictionaryResponse<TKey, TValue> class with a specified dictionary and rate limit. More... | |
| bool | ContainsKey (TKey key) |
| Determines whether the read-only dictionary contains an element that has the specified key. More... | |
| bool | TryGetValue (TKey key, out TValue value) |
| Gets the value that is associated with the specified key. More... | |
| IEnumerator< KeyValuePair< TKey, TValue > > | GetEnumerator () |
| Returns an enumerator that iterates through a collection. More... | |
Public Attributes | |
| IEnumerable< TKey > | Keys => this.innerDictionary.Keys |
| Gets an enumerable collection that contains the keys in the read-only dictionary. More... | |
| IEnumerable< TValue > | Values => this.innerDictionary.Values |
| Gets an enumerable collection that contains the values in the read-only dictionary. More... | |
| TValue | this[TKey key] => this.innerDictionary[key] |
| Gets the element that has the specified key in the read-only dictionary. More... | |
| int | Count => this.innerDictionary.Count |
| Gets the number of elements in the collection. 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.
| TKey | The type of the keys in the dictionary. |
| TValue | The type of the values in the dictionary. |
|
inline |
Initializes a new instance of the CoreTweet.Core.DictionaryResponse<TKey, TValue> class with a specified dictionary.
| dictionary | The dictionary whose elements are copied to the new CoreTweet.Core.DictionaryResponse<TKey, TValue>. |
|
inline |
Initializes a new instance of the CoreTweet.Core.DictionaryResponse<TKey, TValue> class with a specified dictionary and rate limit.
| dictionary | The dictionary whose elements are copied to the new CoreTweet.Core.DictionaryResponse<TKey, TValue>. |
| rateLimit | The rate limit. |
| json | The JSON. |
| bool CoreTweet.Core.DictionaryResponse< TKey, TValue >.ContainsKey | ( | TKey | key | ) |
Determines whether the read-only dictionary contains an element that has the specified key.
| key | The key to locate. |
true if the read-only dictionary contains an element that has the specified key; otherwise, false.| IEnumerator<KeyValuePair<TKey, TValue> > CoreTweet.Core.DictionaryResponse< TKey, TValue >.GetEnumerator | ( | ) |
Returns an enumerator that iterates through a collection.
| bool CoreTweet.Core.DictionaryResponse< TKey, TValue >.TryGetValue | ( | TKey | key, |
| out TValue | value | ||
| ) |
Gets the value that is associated with the specified key.
| key | The key to locate. |
| value | When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. |
true if the CoreTweet.Core.DictionaryResponse<TKey, TValue> contains an element that has the specified key; otherwise, false.| int CoreTweet.Core.DictionaryResponse< TKey, TValue >.Count => this.innerDictionary.Count |
Gets the number of elements in the collection.
The number of elements in the collection.
| IEnumerable<TKey> CoreTweet.Core.DictionaryResponse< TKey, TValue >.Keys => this.innerDictionary.Keys |
Gets an enumerable collection that contains the keys in the read-only dictionary.
An enumerable collection that contains the keys in the read-only dictionary.
| TValue CoreTweet.Core.DictionaryResponse< TKey, TValue >.this[TKey key] => this.innerDictionary[key] |
Gets the element that has the specified key in the read-only dictionary.
| key | The key to locate. |
| IEnumerable<TValue> CoreTweet.Core.DictionaryResponse< TKey, TValue >.Values => this.innerDictionary.Values |
Gets an enumerable collection that contains the values in the read-only dictionary.
An enumerable collection that contains the values in the read-only dictionary.
|
getset |
Gets or sets the JSON of the response.
|
getset |
Gets or sets the rate limit of the response.
1.8.17