![]() |
Reddit.NET
1.5
Reddit.NET is a .NET Standard library that provides easy access to the Reddit API with virtually no boilerplate code required.
|
Controller class for subreddit post listings. More...
Public Member Functions | |
SubredditPosts (Dispatch dispatch, string subreddit, List< Post > best=null, List< Post > hot=null, List< Post > newPosts=null, List< Post > rising=null, List< Post > top=null, List< Post > controversial=null, List< Post > modQueue=null, List< Post > modQueueReports=null, List< Post > modQueueSpam=null, List< Post > modQueueUnmoderated=null, List< Post > modQueueEdited=null) | |
Create a new instance of the subreddit posts controller. More... | |
List< Post > | GetBest (string after="", string before="", int limit=100, bool isInterface=false) |
Retrieve a list of posts using "best" sort. More... | |
List< Post > | GetBest (CategorizedSrListingInput categorizedSrListingInput, bool isInterface=false) |
Retrieve a list of posts using "best" sort. More... | |
List< Post > | GetHot (string g="", string after="", string before="", int limit=100, bool isInterface=false) |
Retrieve a list of posts using "hot" sort. More... | |
List< Post > | GetHot (ListingsHotInput listingsHotInput, bool isInterface=false) |
Retrieve a list of posts using "hot" sort. More... | |
List< Post > | GetNew (string after="", string before="", int limit=100, bool isInterface=false) |
Retrieve a list of posts using "new" sort. More... | |
List< Post > | GetNew (CategorizedSrListingInput categorizedSrListingInput, bool isInterface=false) |
Retrieve a list of posts using "new" sort. More... | |
List< Post > | GetRising (string after="", string before="", int limit=100, bool isInterface=false) |
Retrieve a list of posts using "rising" sort. More... | |
List< Post > | GetRising (CategorizedSrListingInput categorizedSrListingInput, bool isInterface=false) |
Retrieve a list of posts using "rising" sort. More... | |
List< Post > | GetTop (string t="all", string after="", string before="", int limit=100, bool isInterface=false) |
Retrieve a list of posts using "top" sort. More... | |
List< Post > | GetTop (TimedCatSrListingInput timedCatSrListingInput, bool isInterface=false) |
Retrieve a list of posts using "top" sort. More... | |
List< Post > | GetControversial (string t="all", string after="", string before="", int limit=100, bool isInterface=false) |
Retrieve a list of posts using "controversial" sort. More... | |
List< Post > | GetControversial (TimedCatSrListingInput timedCatSrListingInput, bool isInterface=false) |
Retrieve a list of posts using "controversial" sort. More... | |
List< Post > | GetModQueue (string after="", string before="", int limit=100, string show="all", bool srDetail=false, int count=0, bool isInterface=false) |
Retrieve a list of posts in the mod queue. More... | |
List< Post > | GetModQueueReports (string after="", string before="", int limit=100, string show="all", bool srDetail=false, int count=0, bool isInterface=false) |
Retrieve a list of reported posts in the mod queue. More... | |
List< Post > | GetModQueueSpam (string after="", string before="", int limit=100, string show="all", bool srDetail=false, int count=0, bool isInterface=false) |
Retrieve a list of spammed posts in the mod queue. More... | |
List< Post > | GetModQueueUnmoderated (string after="", string before="", int limit=100, string show="all", bool srDetail=false, int count=0, bool isInterface=false) |
Retrieve a list of unmoderated posts in the mod queue. More... | |
List< Post > | GetModQueueEdited (string after="", string before="", int limit=100, string show="all", bool srDetail=false, int count=0, bool isInterface=false) |
Retrieve a list of edited posts in the mod queue. More... | |
bool | MonitorBest (int? monitoringDelayMs=null, int? monitoringBaseDelayMs=null, List< MonitoringSchedule > schedule=null, bool? breakOnFailure=null, DateTime? monitoringExpiration=null, bool useCache=true) |
Monitor Reddit for new "Best" posts. More... | |
bool | MonitorHot (int? monitoringDelayMs=null, int? monitoringBaseDelayMs=null, List< MonitoringSchedule > schedule=null, bool? breakOnFailure=null, DateTime? monitoringExpiration=null, bool useCache=true) |
Monitor the subreddit for new "Hot" posts. More... | |
bool | MonitorNew (int? monitoringDelayMs=null, int? monitoringBaseDelayMs=null, List< MonitoringSchedule > schedule=null, bool? breakOnFailure=null, DateTime? monitoringExpiration=null, bool useCache=true) |
Monitor the subreddit for new posts. More... | |
bool | MonitorRising (int? monitoringDelayMs=null, int? monitoringBaseDelayMs=null, List< MonitoringSchedule > schedule=null, bool? breakOnFailure=null, DateTime? monitoringExpiration=null, bool useCache=true) |
Monitor the subreddit for new "Rising" posts. More... | |
bool | MonitorTop (int? monitoringDelayMs=null, int? monitoringBaseDelayMs=null, List< MonitoringSchedule > schedule=null, bool? breakOnFailure=null, DateTime? monitoringExpiration=null, bool useCache=true) |
Monitor the subreddit for new "Top" posts. More... | |
bool | MonitorControversial (int? monitoringDelayMs=null, int? monitoringBaseDelayMs=null, List< MonitoringSchedule > schedule=null, bool? breakOnFailure=null, DateTime? monitoringExpiration=null, bool useCache=true) |
Monitor the subreddit for new "Controversial" posts. More... | |
bool | MonitorModQueue (int? monitoringDelayMs=null, int? monitoringBaseDelayMs=null, List< MonitoringSchedule > schedule=null, bool? breakOnFailure=null, DateTime? monitoringExpiration=null, bool useCache=true) |
Monitor the subreddit's modqueue for new "modqueue" posts. More... | |
bool | MonitorModQueueReports (int? monitoringDelayMs=null, int? monitoringBaseDelayMs=null, List< MonitoringSchedule > schedule=null, bool? breakOnFailure=null, DateTime? monitoringExpiration=null, bool useCache=true) |
Monitor the subreddit's modqueue for new "reports" posts. More... | |
bool | MonitorModQueueSpam (int? monitoringDelayMs=null, int? monitoringBaseDelayMs=null, List< MonitoringSchedule > schedule=null, bool? breakOnFailure=null, DateTime? monitoringExpiration=null, bool useCache=true) |
Monitor the subreddit's modqueue for new "spam" posts. More... | |
bool | MonitorModQueueUnmoderated (int? monitoringDelayMs=null, int? monitoringBaseDelayMs=null, List< MonitoringSchedule > schedule=null, bool? breakOnFailure=null, DateTime? monitoringExpiration=null, bool useCache=true) |
Monitor the subreddit's modqueue for new "unmoderated" posts. More... | |
bool | MonitorModQueueEdited (int? monitoringDelayMs=null, int? monitoringBaseDelayMs=null, List< MonitoringSchedule > schedule=null, bool? breakOnFailure=null, DateTime? monitoringExpiration=null, bool useCache=true) |
Monitor the subreddit's modqueue for new "edited" posts. More... | |
bool | BestPostsIsMonitored () |
Whether best is being monitored. More... | |
bool | HotPostsIsMonitored () |
Whether hot is being monitored. More... | |
bool | NewPostsIsMonitored () |
Whether new is being monitored. More... | |
bool | RisingPostsIsMonitored () |
Whether rising is being monitored. More... | |
bool | TopPostsIsMonitored () |
Whether top is being monitored. More... | |
bool | ControversialPostsIsMonitored () |
Whether controversial is being monitored. More... | |
bool | ModQueuePostsIsMonitored () |
Whether modqueue is being monitored. More... | |
bool | ModQueueReportsPostsIsMonitored () |
Whether modqueue reports is being monitored. More... | |
bool | ModQueueSpamPostsIsMonitored () |
Whether modqueue spam is being monitored. More... | |
bool | ModQueueUnmoderatedPostsIsMonitored () |
Whether modqueue unmoderated is being monitored. More... | |
bool | ModQueueEditedPostsIsMonitored () |
Whether modqueue edited is being monitored. More... | |
![]() | |
Monitors () | |
void | Wait (int ms) |
bool | IsMonitored (string key, string subKey) |
bool | IsScheduled () |
void | WaitOrDie (string key, int timeout=60) |
void | WaitOrDie (Thread thread, int timeout=60) |
void | KillAllMonitoringThreads () |
![]() | |
BaseController () | |
Create a new Controller instance. More... | |
![]() | |
Exception | BuildException (Exception ex, List< List< string >> errors) |
dynamic | Validate (dynamic obj) |
GenericContainer | Validate (GenericContainer genericContainer) |
Generic | Validate (Generic generic) |
DynamicShortListingContainer | Validate (DynamicShortListingContainer dynamicShortListingContainer) |
DynamicShortListingData | Validate (DynamicShortListingData dynamicShortListingData) |
ImageUploadResult | Validate (ImageUploadResult imageUploadResult) |
LiveUpdateEventContainer | Validate (LiveUpdateEventContainer liveUpdateEventContainer) |
LiveThreadCreateResultContainer | Validate (LiveThreadCreateResultContainer liveThreadCreateResultContainer) |
LiveUpdateContainer | Validate (LiveUpdateContainer liveUpdateContainer, int? minChildren=null) |
SubredditSettingsContainer | Validate (SubredditSettingsContainer subredditSettingsContainer) |
SubredditSettings | Validate (SubredditSettings subredditSettings) |
List< ActionResult > | Validate (List< ActionResult > actionResults) |
ActionResult | Validate (ActionResult actionResult) |
FlairListResultContainer | Validate (FlairListResultContainer flairListResultContainer) |
Flair | Validate (Flair flair) |
FlairV2 | Validate (FlairV2 flairV2) |
ModActionContainer | Validate (ModActionContainer modActionContainer) |
ModActionData | Validate (ModActionData modActionData) |
WikiPageRevisionContainer | Validate (WikiPageRevisionContainer wikiPageRevisionContainer) |
WikiPageRevisionData | Validate (WikiPageRevisionData wikiPageRevisionData) |
WikiPageSettingsContainer | Validate (WikiPageSettingsContainer wikiPageSettingsContainer) |
WikiPageSettings | Validate (WikiPageSettings wikiPageSettings) |
List< UserPrefsContainer > | Validate (List< UserPrefsContainer > userPrefsContainers) |
UserPrefsContainer | Validate (UserPrefsContainer userPrefsContainer) |
UserPrefsData | Validate (UserPrefsData userPrefsData) |
PostResultShortContainer | Validate (PostResultShortContainer postResultShortContainer) |
PostResultShort | Validate (PostResultShort postResultShort) |
PostResultContainer | Validate (PostResultContainer postResultContainer) |
PostResult | Validate (PostResult postResult) |
JQueryReturn | Validate (JQueryReturn jQueryReturn) |
List<(PostContainer, CommentContainer)> | Validate (List<(PostContainer, CommentContainer)> ps) |
CommentResultContainer | Validate (CommentResultContainer commentResultContainer) |
SubredditContainer | Validate (SubredditContainer subredditContainer) |
Protected Member Functions | |
override Thread | CreateMonitoringThread (string key, string subKey, int startDelayMs=0, int? monitoringDelayMs=null) |
Creates a new monitoring thread. More... | |
![]() | |
bool | Monitor (string key, Thread thread, string subKey) |
void | RebuildThreads (string subKey) |
void | LaunchThreadIfNotNull (string key, Thread thread) |
void | KillThread (Thread thread) |
void | KillThread (string key) |
void | ResetThreads (List< string > oldThreads) |
![]() | |
void | CheckErrors (List< List< string >> errors) |
void | CheckErrors (List< string > errors) |
void | CheckNull (object res, string msg="Reddit API returned null response.") |
Properties | |
List< Post >? | Best [get] |
(deprecated) List of posts using "best" sort. More... | |
IList< Post >? | IBest [get] |
(deprecated) IList of posts using "best" sort. More... | |
List< Post >? | Hot [get] |
List of posts using "hot" sort. More... | |
IList< Post >? | IHot [get] |
IList of posts using "hot" sort. More... | |
List< Post >? | New [get] |
List of posts using "new" sort. More... | |
IList< Post >? | INew [get] |
IList of posts using "new" sort. More... | |
List< Post >? | Rising [get] |
List of posts using "rising" sort. More... | |
IList< Post >? | IRising [get] |
IList of posts using "rising" sort. More... | |
List< Post >? | Top [get] |
List of posts using "top" sort. More... | |
IList< Post >? | ITop [get] |
IList of posts using "top" sort. More... | |
List< Post >? | Controversial [get] |
List of posts using "controversial" sort. More... | |
IList< Post >? | IControversial [get] |
IList of posts using "controversial" sort. More... | |
List< Post >? | ModQueue [get] |
List of posts in the mod queue. More... | |
IList< Post >? | IModQueue [get] |
IList of posts in the mod queue. More... | |
List< Post >? | ModQueueReports [get] |
List of reported posts in the mod queue. More... | |
IList< Post >? | IModQueueReports [get] |
IList of reported posts in the mod queue. More... | |
List< Post >? | ModQueueSpam [get] |
List of spammed posts in the mod queue. More... | |
IList< Post >? | IModQueueSpam [get] |
IList of spammed posts in the mod queue. More... | |
List< Post >? | ModQueueUnmoderated [get] |
List of unmoderated posts in the mod queue. More... | |
IList< Post >? | IModQueueUnmoderated [get] |
IList of unmoderated posts in the mod queue. More... | |
List< Post >? | ModQueueEdited [get] |
List of edited posts in the mod queue. More... | |
IList< Post >? | IModQueueEdited [get] |
IList of edited posts in the mod queue. More... | |
![]() | |
IDictionary< string, HashSet< string > > | MonitoringCache [get, set] |
An optional cache for preventing the same post from appearing multiple times during monitoring. See: https://github.com/sirkris/Reddit.NET/issues/117#issuecomment-759501039 More... | |
![]() | |
Lists | Lists [get, set] |
List-handling. More... | |
Events | |
EventHandler< PostsUpdateEventArgs > | BestUpdated |
Event handler for monitoring best. More... | |
EventHandler< PostsUpdateEventArgs > | HotUpdated |
Event handler for monitoring hot. More... | |
EventHandler< PostsUpdateEventArgs > | NewUpdated |
Event handler for monitoring new. More... | |
EventHandler< PostsUpdateEventArgs > | RisingUpdated |
Event handler for monitoring rising. More... | |
EventHandler< PostsUpdateEventArgs > | TopUpdated |
Event handler for monitoring top. More... | |
EventHandler< PostsUpdateEventArgs > | ControversialUpdated |
Event handler for monitoring controversial. More... | |
EventHandler< PostsUpdateEventArgs > | ModQueueUpdated |
Event handler for monitoring modqueu. More... | |
EventHandler< PostsUpdateEventArgs > | ModQueueReportsUpdated |
Event handler for monitoring modqueue reports. More... | |
EventHandler< PostsUpdateEventArgs > | ModQueueSpamUpdated |
Event handler for monitoring modqueue spam. More... | |
EventHandler< PostsUpdateEventArgs > | ModQueueUnmoderatedUpdated |
Event handler for monitoring modqueue unmoderated. More... | |
EventHandler< PostsUpdateEventArgs > | ModQueueEditedUpdated |
Event handler for monitoring modqueue edited. More... | |
Additional Inherited Members | |
![]() | |
int | MonitoringWaitDelayMS = 1500 |
![]() | |
volatile bool | Terminate = false |
Controller class for subreddit post listings.
Reddit.Controllers.SubredditPosts.SubredditPosts | ( | Dispatch | dispatch, |
string | subreddit, | ||
List< Post > | best = null , |
||
List< Post > | hot = null , |
||
List< Post > | newPosts = null , |
||
List< Post > | rising = null , |
||
List< Post > | top = null , |
||
List< Post > | controversial = null , |
||
List< Post > | modQueue = null , |
||
List< Post > | modQueueReports = null , |
||
List< Post > | modQueueSpam = null , |
||
List< Post > | modQueueUnmoderated = null , |
||
List< Post > | modQueueEdited = null |
||
) |
Create a new instance of the subreddit posts controller.
dispatch | |
subreddit | The name of the subreddit |
best | |
hot | |
newPosts | |
rising | |
top | |
controversial | |
modQueue | |
modQueueReports | |
modQueueSpam | |
modQueueUnmoderated | |
modQueueEdited |
bool Reddit.Controllers.SubredditPosts.BestPostsIsMonitored | ( | ) |
Whether best is being monitored.
bool Reddit.Controllers.SubredditPosts.ControversialPostsIsMonitored | ( | ) |
Whether controversial is being monitored.
|
protectedvirtual |
Creates a new monitoring thread.
key | Monitoring key |
subKey | Monitoring subKey |
startDelayMs | How long to wait before starting the thread in milliseconds (default: 0) |
monitoringDelayMs | How long to wait between monitoring queries; pass null to leave it auto-managed (default: null) |
Implements Reddit.Controllers.Internal.Monitors.
List<Post> Reddit.Controllers.SubredditPosts.GetBest | ( | CategorizedSrListingInput | categorizedSrListingInput, |
bool | isInterface = false |
||
) |
Retrieve a list of posts using "best" sort.
categorizedSrListingInput | A valid CategorizedSrListingInput instance |
isInterface | (optional) whether to store the result cache in the interface |
List<Post> Reddit.Controllers.SubredditPosts.GetBest | ( | string | after = "" , |
string | before = "" , |
||
int | limit = 100 , |
||
bool | isInterface = false |
||
) |
Retrieve a list of posts using "best" sort.
after | fullname of a thing |
before | fullname of a thing |
limit | The maximum number of results to be retrieved (default: 100) |
isInterface | (optional) whether to store the result cache in the interface |
List<Post> Reddit.Controllers.SubredditPosts.GetControversial | ( | string | t = "all" , |
string | after = "" , |
||
string | before = "" , |
||
int | limit = 100 , |
||
bool | isInterface = false |
||
) |
Retrieve a list of posts using "controversial" sort.
t | one of(hour, day, week, month, year, all) |
after | fullname of a thing |
before | fullname of a thing |
limit | The maximum number of results to be retrieved (default: 100) |
isInterface | (optional) whether to store the result cache in the interface |
List<Post> Reddit.Controllers.SubredditPosts.GetControversial | ( | TimedCatSrListingInput | timedCatSrListingInput, |
bool | isInterface = false |
||
) |
Retrieve a list of posts using "controversial" sort.
timedCatSrListingInput | A valid TimedCatSrListingInput instance |
isInterface | (optional) whether to store the result cache in the interface |
List<Post> Reddit.Controllers.SubredditPosts.GetHot | ( | ListingsHotInput | listingsHotInput, |
bool | isInterface = false |
||
) |
Retrieve a list of posts using "hot" sort.
listingsHotInput | A valid ListingsHotInput instance |
isInterface | (optional) whether to store the result cache in the interface |
List<Post> Reddit.Controllers.SubredditPosts.GetHot | ( | string | g = "" , |
string | after = "" , |
||
string | before = "" , |
||
int | limit = 100 , |
||
bool | isInterface = false |
||
) |
Retrieve a list of posts using "hot" sort.
after | fullname of a thing |
before | fullname of a thing |
limit | The maximum number of results to be retrieved (default: 100) |
isInterface | (optional) whether to store the result cache in the interface |
List<Post> Reddit.Controllers.SubredditPosts.GetModQueue | ( | string | after = "" , |
string | before = "" , |
||
int | limit = 100 , |
||
string | show = "all" , |
||
bool | srDetail = false , |
||
int | count = 0 , |
||
bool | isInterface = false |
||
) |
Retrieve a list of posts in the mod queue.
after | fullname of a thing |
before | fullname of a thing |
limit | The maximum number of results to be retrieved (default: 100) |
show | (optional) the string all |
srDetail | (optional) expand subreddits |
count | a positive integer (default: 0) |
isInterface | (optional) whether to store the result cache in the interface |
List<Post> Reddit.Controllers.SubredditPosts.GetModQueueEdited | ( | string | after = "" , |
string | before = "" , |
||
int | limit = 100 , |
||
string | show = "all" , |
||
bool | srDetail = false , |
||
int | count = 0 , |
||
bool | isInterface = false |
||
) |
Retrieve a list of edited posts in the mod queue.
after | fullname of a thing |
before | fullname of a thing |
limit | The maximum number of results to be retrieved (default: 100) |
show | (optional) the string all |
srDetail | (optional) expand subreddits |
count | a positive integer (default: 0) |
isInterface | (optional) whether to store the result cache in the interface |
List<Post> Reddit.Controllers.SubredditPosts.GetModQueueReports | ( | string | after = "" , |
string | before = "" , |
||
int | limit = 100 , |
||
string | show = "all" , |
||
bool | srDetail = false , |
||
int | count = 0 , |
||
bool | isInterface = false |
||
) |
Retrieve a list of reported posts in the mod queue.
after | fullname of a thing |
before | fullname of a thing |
limit | The maximum number of results to be retrieved (default: 100) |
show | (optional) the string all |
srDetail | (optional) expand subreddits |
count | a positive integer (default: 0) |
isInterface | (optional) whether to store the result cache in the interface |
List<Post> Reddit.Controllers.SubredditPosts.GetModQueueSpam | ( | string | after = "" , |
string | before = "" , |
||
int | limit = 100 , |
||
string | show = "all" , |
||
bool | srDetail = false , |
||
int | count = 0 , |
||
bool | isInterface = false |
||
) |
Retrieve a list of spammed posts in the mod queue.
after | fullname of a thing |
before | fullname of a thing |
limit | The maximum number of results to be retrieved (default: 100) |
show | (optional) the string all |
srDetail | (optional) expand subreddits |
count | a positive integer (default: 0) |
isInterface | (optional) whether to store the result cache in the interface |
List<Post> Reddit.Controllers.SubredditPosts.GetModQueueUnmoderated | ( | string | after = "" , |
string | before = "" , |
||
int | limit = 100 , |
||
string | show = "all" , |
||
bool | srDetail = false , |
||
int | count = 0 , |
||
bool | isInterface = false |
||
) |
Retrieve a list of unmoderated posts in the mod queue.
after | fullname of a thing |
before | fullname of a thing |
limit | The maximum number of results to be retrieved (default: 100) |
show | (optional) the string all |
srDetail | (optional) expand subreddits |
count | a positive integer (default: 0) |
isInterface | (optional) whether to store the result cache in the interface |
List<Post> Reddit.Controllers.SubredditPosts.GetNew | ( | CategorizedSrListingInput | categorizedSrListingInput, |
bool | isInterface = false |
||
) |
Retrieve a list of posts using "new" sort.
categorizedSrListingInput | A valid CategorizedSrListingInput instance |
isInterface | (optional) whether to store the result cache in the interface |
List<Post> Reddit.Controllers.SubredditPosts.GetNew | ( | string | after = "" , |
string | before = "" , |
||
int | limit = 100 , |
||
bool | isInterface = false |
||
) |
Retrieve a list of posts using "new" sort.
after | fullname of a thing |
before | fullname of a thing |
limit | The maximum number of results to be retrieved (default: 100) |
isInterface | (optional) whether to store the result cache in the interface |
List<Post> Reddit.Controllers.SubredditPosts.GetRising | ( | CategorizedSrListingInput | categorizedSrListingInput, |
bool | isInterface = false |
||
) |
Retrieve a list of posts using "rising" sort.
categorizedSrListingInput | A valid CategorizedSrListingInput instance |
isInterface | (optional) whether to store the result cache in the interface |
List<Post> Reddit.Controllers.SubredditPosts.GetRising | ( | string | after = "" , |
string | before = "" , |
||
int | limit = 100 , |
||
bool | isInterface = false |
||
) |
Retrieve a list of posts using "rising" sort.
after | fullname of a thing |
before | fullname of a thing |
limit | The maximum number of results to be retrieved (default: 100) |
isInterface | (optional) whether to store the result cache in the interface |
List<Post> Reddit.Controllers.SubredditPosts.GetTop | ( | string | t = "all" , |
string | after = "" , |
||
string | before = "" , |
||
int | limit = 100 , |
||
bool | isInterface = false |
||
) |
Retrieve a list of posts using "top" sort.
t | one of(hour, day, week, month, year, all) |
after | fullname of a thing |
before | fullname of a thing |
limit | The maximum number of results to be retrieved (default: 100) |
isInterface | (optional) whether to store the result cache in the interface |
List<Post> Reddit.Controllers.SubredditPosts.GetTop | ( | TimedCatSrListingInput | timedCatSrListingInput, |
bool | isInterface = false |
||
) |
Retrieve a list of posts using "top" sort.
timedCatSrListingInput | A valid TimedCatSrListingInput instance |
isInterface | (optional) whether to store the result cache in the interface |
bool Reddit.Controllers.SubredditPosts.HotPostsIsMonitored | ( | ) |
Whether hot is being monitored.
bool Reddit.Controllers.SubredditPosts.ModQueueEditedPostsIsMonitored | ( | ) |
Whether modqueue edited is being monitored.
bool Reddit.Controllers.SubredditPosts.ModQueuePostsIsMonitored | ( | ) |
Whether modqueue is being monitored.
bool Reddit.Controllers.SubredditPosts.ModQueueReportsPostsIsMonitored | ( | ) |
Whether modqueue reports is being monitored.
bool Reddit.Controllers.SubredditPosts.ModQueueSpamPostsIsMonitored | ( | ) |
Whether modqueue spam is being monitored.
bool Reddit.Controllers.SubredditPosts.ModQueueUnmoderatedPostsIsMonitored | ( | ) |
Whether modqueue unmoderated is being monitored.
bool Reddit.Controllers.SubredditPosts.MonitorBest | ( | int? | monitoringDelayMs = null , |
int? | monitoringBaseDelayMs = null , |
||
List< MonitoringSchedule > | schedule = null , |
||
bool? | breakOnFailure = null , |
||
DateTime? | monitoringExpiration = null , |
||
bool | useCache = true |
||
) |
Monitor Reddit for new "Best" posts.
monitoringDelayMs | The number of milliseconds between each monitoring query; leave null to auto-manage |
monitoringBaseDelayMs | The number of milliseconds between each monitoring query PER THREAD (default: 1500) |
schedule | A list of one or more timeframes during which monitoring of this object will occur (default: 24/7) |
breakOnFailure | If true, an exception will be thrown when a monitoring query fails; leave null to keep current setting (default: false) |
monitoringExpiration | If set, monitoring will automatically stop after the specified DateTime is reached |
useCache | Whether to cache the IDs of the monitoring results to prevent duplicate fires (default: true) |
bool Reddit.Controllers.SubredditPosts.MonitorControversial | ( | int? | monitoringDelayMs = null , |
int? | monitoringBaseDelayMs = null , |
||
List< MonitoringSchedule > | schedule = null , |
||
bool? | breakOnFailure = null , |
||
DateTime? | monitoringExpiration = null , |
||
bool | useCache = true |
||
) |
Monitor the subreddit for new "Controversial" posts.
monitoringDelayMs | The number of milliseconds between each monitoring query; leave null to auto-manage |
monitoringBaseDelayMs | The number of milliseconds between each monitoring query PER THREAD (default: 1500) |
schedule | A list of one or more timeframes during which monitoring of this object will occur (default: 24/7) |
breakOnFailure | If true, an exception will be thrown when a monitoring query fails; leave null to keep current setting (default: false) |
monitoringExpiration | If set, monitoring will automatically stop after the specified DateTime is reached |
useCache | Whether to cache the IDs of the monitoring results to prevent duplicate fires (default: true) |
bool Reddit.Controllers.SubredditPosts.MonitorHot | ( | int? | monitoringDelayMs = null , |
int? | monitoringBaseDelayMs = null , |
||
List< MonitoringSchedule > | schedule = null , |
||
bool? | breakOnFailure = null , |
||
DateTime? | monitoringExpiration = null , |
||
bool | useCache = true |
||
) |
Monitor the subreddit for new "Hot" posts.
monitoringDelayMs | The number of milliseconds between each monitoring query; leave null to auto-manage |
monitoringBaseDelayMs | The number of milliseconds between each monitoring query PER THREAD (default: 1500) |
schedule | A list of one or more timeframes during which monitoring of this object will occur (default: 24/7) |
breakOnFailure | If true, an exception will be thrown when a monitoring query fails; leave null to keep current setting (default: false) |
monitoringExpiration | If set, monitoring will automatically stop after the specified DateTime is reached |
useCache | Whether to cache the IDs of the monitoring results to prevent duplicate fires (default: true) |
bool Reddit.Controllers.SubredditPosts.MonitorModQueue | ( | int? | monitoringDelayMs = null , |
int? | monitoringBaseDelayMs = null , |
||
List< MonitoringSchedule > | schedule = null , |
||
bool? | breakOnFailure = null , |
||
DateTime? | monitoringExpiration = null , |
||
bool | useCache = true |
||
) |
Monitor the subreddit's modqueue for new "modqueue" posts.
monitoringDelayMs | The number of milliseconds between each monitoring query; leave null to auto-manage |
monitoringBaseDelayMs | The number of milliseconds between each monitoring query PER THREAD (default: 1500) |
schedule | A list of one or more timeframes during which monitoring of this object will occur (default: 24/7) |
breakOnFailure | If true, an exception will be thrown when a monitoring query fails; leave null to keep current setting (default: false) |
monitoringExpiration | If set, monitoring will automatically stop after the specified DateTime is reached |
useCache | Whether to cache the IDs of the monitoring results to prevent duplicate fires (default: true) |
bool Reddit.Controllers.SubredditPosts.MonitorModQueueEdited | ( | int? | monitoringDelayMs = null , |
int? | monitoringBaseDelayMs = null , |
||
List< MonitoringSchedule > | schedule = null , |
||
bool? | breakOnFailure = null , |
||
DateTime? | monitoringExpiration = null , |
||
bool | useCache = true |
||
) |
Monitor the subreddit's modqueue for new "edited" posts.
monitoringDelayMs | The number of milliseconds between each monitoring query; leave null to auto-manage |
monitoringBaseDelayMs | The number of milliseconds between each monitoring query PER THREAD (default: 1500) |
schedule | A list of one or more timeframes during which monitoring of this object will occur (default: 24/7) |
breakOnFailure | If true, an exception will be thrown when a monitoring query fails; leave null to keep current setting (default: false) |
monitoringExpiration | If set, monitoring will automatically stop after the specified DateTime is reached |
useCache | Whether to cache the IDs of the monitoring results to prevent duplicate fires (default: true) |
bool Reddit.Controllers.SubredditPosts.MonitorModQueueReports | ( | int? | monitoringDelayMs = null , |
int? | monitoringBaseDelayMs = null , |
||
List< MonitoringSchedule > | schedule = null , |
||
bool? | breakOnFailure = null , |
||
DateTime? | monitoringExpiration = null , |
||
bool | useCache = true |
||
) |
Monitor the subreddit's modqueue for new "reports" posts.
monitoringDelayMs | The number of milliseconds between each monitoring query; leave null to auto-manage |
monitoringBaseDelayMs | The number of milliseconds between each monitoring query PER THREAD (default: 1500) |
schedule | A list of one or more timeframes during which monitoring of this object will occur (default: 24/7) |
breakOnFailure | If true, an exception will be thrown when a monitoring query fails; leave null to keep current setting (default: false) |
monitoringExpiration | If set, monitoring will automatically stop after the specified DateTime is reached |
useCache | Whether to cache the IDs of the monitoring results to prevent duplicate fires (default: true) |
bool Reddit.Controllers.SubredditPosts.MonitorModQueueSpam | ( | int? | monitoringDelayMs = null , |
int? | monitoringBaseDelayMs = null , |
||
List< MonitoringSchedule > | schedule = null , |
||
bool? | breakOnFailure = null , |
||
DateTime? | monitoringExpiration = null , |
||
bool | useCache = true |
||
) |
Monitor the subreddit's modqueue for new "spam" posts.
monitoringDelayMs | The number of milliseconds between each monitoring query; leave null to auto-manage |
monitoringBaseDelayMs | The number of milliseconds between each monitoring query PER THREAD (default: 1500) |
schedule | A list of one or more timeframes during which monitoring of this object will occur (default: 24/7) |
breakOnFailure | If true, an exception will be thrown when a monitoring query fails; leave null to keep current setting (default: false) |
monitoringExpiration | If set, monitoring will automatically stop after the specified DateTime is reached |
useCache | Whether to cache the IDs of the monitoring results to prevent duplicate fires (default: true) |
bool Reddit.Controllers.SubredditPosts.MonitorModQueueUnmoderated | ( | int? | monitoringDelayMs = null , |
int? | monitoringBaseDelayMs = null , |
||
List< MonitoringSchedule > | schedule = null , |
||
bool? | breakOnFailure = null , |
||
DateTime? | monitoringExpiration = null , |
||
bool | useCache = true |
||
) |
Monitor the subreddit's modqueue for new "unmoderated" posts.
monitoringDelayMs | The number of milliseconds between each monitoring query; leave null to auto-manage |
monitoringBaseDelayMs | The number of milliseconds between each monitoring query PER THREAD (default: 1500) |
schedule | A list of one or more timeframes during which monitoring of this object will occur (default: 24/7) |
breakOnFailure | If true, an exception will be thrown when a monitoring query fails; leave null to keep current setting (default: false) |
monitoringExpiration | If set, monitoring will automatically stop after the specified DateTime is reached |
useCache | Whether to cache the IDs of the monitoring results to prevent duplicate fires (default: true) |
bool Reddit.Controllers.SubredditPosts.MonitorNew | ( | int? | monitoringDelayMs = null , |
int? | monitoringBaseDelayMs = null , |
||
List< MonitoringSchedule > | schedule = null , |
||
bool? | breakOnFailure = null , |
||
DateTime? | monitoringExpiration = null , |
||
bool | useCache = true |
||
) |
Monitor the subreddit for new posts.
monitoringDelayMs | The number of milliseconds between each monitoring query; leave null to auto-manage |
monitoringBaseDelayMs | The number of milliseconds between each monitoring query PER THREAD (default: 1500) |
schedule | A list of one or more timeframes during which monitoring of this object will occur (default: 24/7) |
breakOnFailure | If true, an exception will be thrown when a monitoring query fails; leave null to keep current setting (default: false) |
monitoringExpiration | If set, monitoring will automatically stop after the specified DateTime is reached |
useCache | Whether to cache the IDs of the monitoring results to prevent duplicate fires (default: true) |
bool Reddit.Controllers.SubredditPosts.MonitorRising | ( | int? | monitoringDelayMs = null , |
int? | monitoringBaseDelayMs = null , |
||
List< MonitoringSchedule > | schedule = null , |
||
bool? | breakOnFailure = null , |
||
DateTime? | monitoringExpiration = null , |
||
bool | useCache = true |
||
) |
Monitor the subreddit for new "Rising" posts.
monitoringDelayMs | The number of milliseconds between each monitoring query; leave null to auto-manage |
monitoringBaseDelayMs | The number of milliseconds between each monitoring query PER THREAD (default: 1500) |
schedule | A list of one or more timeframes during which monitoring of this object will occur (default: 24/7) |
breakOnFailure | If true, an exception will be thrown when a monitoring query fails; leave null to keep current setting (default: false) |
monitoringExpiration | If set, monitoring will automatically stop after the specified DateTime is reached |
useCache | Whether to cache the IDs of the monitoring results to prevent duplicate fires (default: true) |
bool Reddit.Controllers.SubredditPosts.MonitorTop | ( | int? | monitoringDelayMs = null , |
int? | monitoringBaseDelayMs = null , |
||
List< MonitoringSchedule > | schedule = null , |
||
bool? | breakOnFailure = null , |
||
DateTime? | monitoringExpiration = null , |
||
bool | useCache = true |
||
) |
Monitor the subreddit for new "Top" posts.
monitoringDelayMs | The number of milliseconds between each monitoring query; leave null to auto-manage |
monitoringBaseDelayMs | The number of milliseconds between each monitoring query PER THREAD (default: 1500) |
schedule | A list of one or more timeframes during which monitoring of this object will occur (default: 24/7) |
breakOnFailure | If true, an exception will be thrown when a monitoring query fails; leave null to keep current setting (default: false) |
monitoringExpiration | If set, monitoring will automatically stop after the specified DateTime is reached |
useCache | Whether to cache the IDs of the monitoring results to prevent duplicate fires (default: true) |
bool Reddit.Controllers.SubredditPosts.NewPostsIsMonitored | ( | ) |
Whether new is being monitored.
bool Reddit.Controllers.SubredditPosts.RisingPostsIsMonitored | ( | ) |
Whether rising is being monitored.
bool Reddit.Controllers.SubredditPosts.TopPostsIsMonitored | ( | ) |
Whether top is being monitored.
|
get |
(deprecated) List of posts using "best" sort.
|
get |
List of posts using "controversial" sort.
|
get |
List of posts using "hot" sort.
|
get |
(deprecated) IList of posts using "best" sort.
|
get |
IList of posts using "controversial" sort.
|
get |
IList of posts using "hot" sort.
|
get |
IList of posts in the mod queue.
|
get |
IList of edited posts in the mod queue.
|
get |
IList of reported posts in the mod queue.
|
get |
IList of spammed posts in the mod queue.
|
get |
IList of unmoderated posts in the mod queue.
|
get |
IList of posts using "new" sort.
|
get |
IList of posts using "rising" sort.
|
get |
IList of posts using "top" sort.
|
get |
List of posts in the mod queue.
|
get |
List of edited posts in the mod queue.
|
get |
List of reported posts in the mod queue.
|
get |
List of spammed posts in the mod queue.
|
get |
List of unmoderated posts in the mod queue.
|
get |
List of posts using "new" sort.
|
get |
List of posts using "rising" sort.
|
get |
List of posts using "top" sort.
EventHandler<PostsUpdateEventArgs> Reddit.Controllers.SubredditPosts.BestUpdated |
Event handler for monitoring best.
EventHandler<PostsUpdateEventArgs> Reddit.Controllers.SubredditPosts.ControversialUpdated |
Event handler for monitoring controversial.
EventHandler<PostsUpdateEventArgs> Reddit.Controllers.SubredditPosts.HotUpdated |
Event handler for monitoring hot.
EventHandler<PostsUpdateEventArgs> Reddit.Controllers.SubredditPosts.ModQueueEditedUpdated |
Event handler for monitoring modqueue edited.
EventHandler<PostsUpdateEventArgs> Reddit.Controllers.SubredditPosts.ModQueueReportsUpdated |
Event handler for monitoring modqueue reports.
EventHandler<PostsUpdateEventArgs> Reddit.Controllers.SubredditPosts.ModQueueSpamUpdated |
Event handler for monitoring modqueue spam.
EventHandler<PostsUpdateEventArgs> Reddit.Controllers.SubredditPosts.ModQueueUnmoderatedUpdated |
Event handler for monitoring modqueue unmoderated.
EventHandler<PostsUpdateEventArgs> Reddit.Controllers.SubredditPosts.ModQueueUpdated |
Event handler for monitoring modqueu.
EventHandler<PostsUpdateEventArgs> Reddit.Controllers.SubredditPosts.NewUpdated |
Event handler for monitoring new.
EventHandler<PostsUpdateEventArgs> Reddit.Controllers.SubredditPosts.RisingUpdated |
Event handler for monitoring rising.
EventHandler<PostsUpdateEventArgs> Reddit.Controllers.SubredditPosts.TopUpdated |
Event handler for monitoring top.