Class PagedViewReadOnlyCollection<T>
- Namespace
- idunno.Bluesky
- Assembly
- idunno.Bluesky.dll
A list of T views, with an optional cursor for pagination.
public class PagedViewReadOnlyCollection<T> : ReadOnlyCollection<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable where T : ViewType Parameters
T-
The type of idunno.Bluesky.Views the list contains.
Inheritance
Implements
Inherited Members
Constructors
PagedViewReadOnlyCollection(IList<T>, string?)
A list of T views, with an optional cursor for pagination.
public PagedViewReadOnlyCollection(IList<T> list, string? cursor = null)Parameters
listIList<T>-
The list to create this instance of idunno.Bluesky.PagedViewReadOnlyCollection`1 from.
cursorstring?-
An optional cursor for pagination.
PagedViewReadOnlyCollection()
Creates a new instance of idunno.Bluesky.PagedViewReadOnlyCollection`1 with an empty list and no cursor.
public PagedViewReadOnlyCollection()PagedViewReadOnlyCollection(ICollection<T>, string?)
Creates a new instance of idunno.Bluesky.PagedViewReadOnlyCollection`1.
public PagedViewReadOnlyCollection(ICollection<T> collection, string? cursor = null)Parameters
collectionICollection<T>-
A collection of
Tto create this instance of idunno.Bluesky.PagedViewReadOnlyCollection`1 from. cursorstring?-
An optional cursor for pagination.
PagedViewReadOnlyCollection(IList<T>, string?)
A list of T views, with an optional cursor for pagination.
public PagedViewReadOnlyCollection(IList<T> list, string? cursor = null)Parameters
listIList<T>-
The list to create this instance of idunno.Bluesky.PagedViewReadOnlyCollection`1 from.
cursorstring?-
An optional cursor for pagination.
PagedViewReadOnlyCollection()
Creates a new instance of idunno.Bluesky.PagedViewReadOnlyCollection`1 with an empty list and no cursor.
public PagedViewReadOnlyCollection()PagedViewReadOnlyCollection(ICollection<T>, string?)
Creates a new instance of idunno.Bluesky.PagedViewReadOnlyCollection`1.
public PagedViewReadOnlyCollection(ICollection<T> collection, string? cursor = null)Parameters
collectionICollection<T>-
A collection of
Tto create this instance of idunno.Bluesky.PagedViewReadOnlyCollection`1 from. cursorstring?-
An optional cursor for pagination.
PagedViewReadOnlyCollection(IList<T>, string?)
A list of T views, with an optional cursor for pagination.
public PagedViewReadOnlyCollection(IList<T> list, string? cursor = null)Parameters
listIList<T>-
The list to create this instance of idunno.Bluesky.PagedViewReadOnlyCollection`1 from.
cursorstring?-
An optional cursor for pagination.
PagedViewReadOnlyCollection()
Creates a new instance of idunno.Bluesky.PagedViewReadOnlyCollection`1 with an empty list and no cursor.
public PagedViewReadOnlyCollection()PagedViewReadOnlyCollection(ICollection<T>, string?)
Creates a new instance of idunno.Bluesky.PagedViewReadOnlyCollection`1.
public PagedViewReadOnlyCollection(ICollection<T> collection, string? cursor = null)Parameters
collectionICollection<T>-
A collection of
Tto create this instance of idunno.Bluesky.PagedViewReadOnlyCollection`1 from. cursorstring?-
An optional cursor for pagination.
Properties
Cursor
An optional cursor returned by the underlying API pagination.
public string? Cursor { get; }Property Value
Cursor
An optional cursor returned by the underlying API pagination.
public string? Cursor { get; }Property Value
Cursor
An optional cursor returned by the underlying API pagination.
public string? Cursor { get; }