ScrollableList.ScrollableList Constructor

Namespace:
Weavy.Web.Api.Models
Assembly:
Weavy.Web.dll

Overloads

ScrollableList(IEnumerable, Nullable, Nullable, Nullable, Uri) Initializes a new instance of the ScrollableList class.
ScrollableList(PagedList, Uri) Initializes a new instance of the ScrollableList class.

ScrollableList(IEnumerable, int?, int?, long?, Uri)

Initializes a new instance of the ScrollableList class.

public ScrollableList(IEnumerable<T> source, int? top, int? skip, long? total, Uri uri)

Parameters

source
System.Collections.Generic.IEnumerable<>

The collection of items to initialize the scrollable list with.

top
int?

The number of requested items.

skip
int?

The number of skipped items.

total
long?

The total item count (before skip, top etc. was applied).

uri
System.Uri

The URI

ScrollableList(PagedList, Uri)

Initializes a new instance of the ScrollableList class.

public ScrollableList(PagedList<T> source, Uri uri)

Parameters

source
Weavy.Core.Collections.PagedList<>

The PagedList to wrap.

uri
System.Uri

The URI