Exemplo n.º 1
0
 public ListingEnumerator(Listing <T> listing)
 {
     Listing          = listing;
     CurrentPageIndex = 0;
 }
Exemplo n.º 2
0
 public ListingEnumerator(Listing <T> listing)
 {
     Listing          = listing;
     CurrentPageIndex = -1;
     CurrentPage      = new Thing[0];
 }
Exemplo n.º 3
0
 /// <summary>
 /// Get a <see cref="Listing{T}"/> of posts made for this domain that are in the hot queue.
 /// </summary>
 public Listing <Post> GetHot(int max = -1) => Listing <Post> .Create(WebAgent, DomainHotUrl, max, 100);
Exemplo n.º 4
0
 /// <summary>
 /// Get a <see cref="Listing{T}"/> of posts made for this domain that are in the new queue.
 /// </summary>
 public Listing <Post> GetNew(int max = -1) => Listing <Post> .Create(WebAgent, DomainNewUrl, max, 100);
Exemplo n.º 5
0
 /// <summary>
 /// Get a list of revisions for this wiki.
 /// </summary>
 /// <param name="max">Maximum number of records to return.  -1 for unlimited.</param>
 public Listing <WikiPageRevision> GetRevisions(int max = -1) => Listing <WikiPageRevision> .Create(WebAgent, WikiRevisionsUrl, max, 100);
Exemplo n.º 6
0
 /// <summary>
 /// Get a list of discussions about this wiki page.
 /// </summary>
 /// <param name="page"></param>
 /// <param name="max">Maximum number of records to return.  -1 for unlimited.</param>
 public Listing <Post> GetPageDiscussions(string page, int max = -1) => Listing <Post> .Create(WebAgent, WikiPageDiscussionsUrl(page), max, 100);
Exemplo n.º 7
0
 /// <summary>
 /// Get a list of revisions for a give wiki page.
 /// </summary>
 /// <param name="page">wiki page</param>
 /// <param name="max">Maximum number of records to return.  -1 for unlimited.</param>
 public Listing <WikiPageRevision> GetPageRevisions(string page, int max = -1) => Listing <WikiPageRevision> .Create(WebAgent, WikiPageRevisionsUrl(page), max, 100);