Dispatch Controller for direct access to Models.
More...
|
| API.Account | Account [get, set] |
| | Account model. More...
|
| |
| API.Emoji | Emoji [get, set] |
| | Emoji model. More...
|
| |
| API.Flair | Flair [get, set] |
| | Flair model. More...
|
| |
| API.LinksAndComments | LinksAndComments [get, set] |
| | LinksAndComments model. More...
|
| |
| API.Listings | Listings [get, set] |
| | Listings model. More...
|
| |
| API.LiveThreads | LiveThreads [get, set] |
| | LiveThreads model. More...
|
| |
| API.Misc | Misc [get, set] |
| | Misc model. More...
|
| |
| API.Moderation | Moderation [get, set] |
| | Moderation model. More...
|
| |
| API.Modmail | Modmail [get, set] |
| | Modmail model. More...
|
| |
| API.Multis | Multis [get, set] |
| | Multis model. More...
|
| |
| API.PrivateMessages | PrivateMessages [get, set] |
| | PrivateMessages model. More...
|
| |
| API.RedditGold | RedditGold [get, set] |
| | RedditGold model. More...
|
| |
| API.Search | Search [get, set] |
| | Search model. More...
|
| |
| API.Subreddits | Subreddits [get, set] |
| | Subreddits model. More...
|
| |
| API.Users | Users [get, set] |
| | Users model. More...
|
| |
| API.Widgets | Widgets [get, set] |
| | Widgets model. More...
|
| |
| API.Wiki | Wiki [get, set] |
| | Wiki model. More...
|
| |
| API.OAuthCredentials | OAuthCredentials [get, set] |
| | Makes the Reddit OAuth credentials accessible to the calling app. Aside from populating these values for that reason, this class is not used by the library, itself. Each model class stores these credentials internally. More...
|
| |
Dispatch Controller for direct access to Models.
◆ Dispatch()
| Reddit.Controllers.Dispatch.Dispatch |
( |
string |
appId, |
|
|
string |
appSecret, |
|
|
string |
refreshToken, |
|
|
string |
accessToken, |
|
|
RestClient |
restClient, |
|
|
string |
deviceId = null, |
|
|
string |
userAgent = null |
|
) |
| |
Instantiate endpoint singletons.
- Parameters
-
| appId | The OAuth application ID |
| appSecret | The OAuth application secret; this parameter is required for 'script' apps which use a secret to authenticate |
| refreshToken | The OAuth refresh token required to obtain a Reddit API access token |
| accessToken | The OAuth access token required to access the Reddit API |
| restClient | A valid RestClient instance |
| deviceId | (optional) A unique Device ID required for app-only authentication |
| userAgent | (optional) A custom string for the User-Agent header |
◆ C_MonitoringUpdated()
Update what's being monitored across all models.
- Parameters
-
| sender | The sender |
| e | A valid MonitoringUpdateEventArgs instance |
◆ C_RequestsUpdated()
Keep track of requests across all models.
- Parameters
-
| sender | The sender |
| e | A valid RequestsUpdateEventArgs instance |
◆ C_TokenUpdated()
Propagate token across all models.
- Parameters
-
| sender | The sender |
| e | A valid TokenUpdateEventArgs instance |
◆ Account
| API.Account Reddit.Controllers.Dispatch.Account |
|
getset |
◆ Emoji
| API.Emoji Reddit.Controllers.Dispatch.Emoji |
|
getset |
◆ Flair
| API.Flair Reddit.Controllers.Dispatch.Flair |
|
getset |
◆ LinksAndComments
| API.LinksAndComments Reddit.Controllers.Dispatch.LinksAndComments |
|
getset |
◆ Listings
| API.Listings Reddit.Controllers.Dispatch.Listings |
|
getset |
◆ LiveThreads
| API.LiveThreads Reddit.Controllers.Dispatch.LiveThreads |
|
getset |
◆ Misc
| API.Misc Reddit.Controllers.Dispatch.Misc |
|
getset |
◆ Moderation
| API.Moderation Reddit.Controllers.Dispatch.Moderation |
|
getset |
◆ Modmail
| API.Modmail Reddit.Controllers.Dispatch.Modmail |
|
getset |
◆ Multis
| API.Multis Reddit.Controllers.Dispatch.Multis |
|
getset |
◆ OAuthCredentials
| API.OAuthCredentials Reddit.Controllers.Dispatch.OAuthCredentials |
|
getset |
Makes the Reddit OAuth credentials accessible to the calling app. Aside from populating these values for that reason, this class is not used by the library, itself. Each model class stores these credentials internally.
◆ PrivateMessages
| API.PrivateMessages Reddit.Controllers.Dispatch.PrivateMessages |
|
getset |
◆ RedditGold
| API.RedditGold Reddit.Controllers.Dispatch.RedditGold |
|
getset |
◆ Search
| API.Search Reddit.Controllers.Dispatch.Search |
|
getset |
◆ Subreddits
| API.Subreddits Reddit.Controllers.Dispatch.Subreddits |
|
getset |
◆ Users
| API.Users Reddit.Controllers.Dispatch.Users |
|
getset |
◆ Widgets
| API.Widgets Reddit.Controllers.Dispatch.Widgets |
|
getset |
◆ Wiki
| API.Wiki Reddit.Controllers.Dispatch.Wiki |
|
getset |
The documentation for this class was generated from the following file:
- E:/repos/Reddit.NET/src/Reddit.NET/Controllers/Dispatch.cs