IPagedList Interface

Namespace:
Weavy.Core.Collections
Assembly:
Weavy.Core.dll

Interface for a paged collection.

public interface IPagedList

Properties

HasNextPage Gets a value indicating whether the list has a next page.
HasPreviousPage Gets a value indicating whether the list has a previous page.
PageCount Gets the page count.
PageNumber Gets the page number.
Skip Gets the number of skipped items.
Top Gets the maximum number of items that was specified in the query.
TotalCount Gets the total number of items in the result.

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(object, Formatting?, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.