Signum Documentation

The documentation comes from the Markdown files in the source code, so is always up-to-date but available only in English. Enjoy!

Paste your Framework commit SHA


Set of extensions over IQueryable and IEnumerable to simplify pagination.


Returns a page of information, containing the elements (Skip & Take) in a Page<T> structure.

public static Page<T> Paginate<T>(this IQueryable<T> source, int elementsPerPage, int currentPage)
public static Page<T> Paginate<T>(this IEnumerable<T> source, int elementsPerPage, int currentPage)

public class Page<T> 
    public int StartElementIndex { get; }
    public int EndElementIndex { get; }
    public int TotalElements { get; }

    public int TotalPages { get; }
    public int CurrentPage { get; }

    public int ElementsPerPage { get;  }

    public List<T> Elements { get; }

This class is 1-indexed for the currentPage to be more natural for end-users.