aggiunto nuget pagedlist
This commit is contained in:
@@ -0,0 +1,166 @@
|
||||
.pagination {
|
||||
display: inline-block;
|
||||
padding-left: 0;
|
||||
margin: 20px 0;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.pagination > li {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.pagination > li > a,
|
||||
.pagination > li > span {
|
||||
position: relative;
|
||||
float: left;
|
||||
padding: 6px 12px;
|
||||
margin-left: -1px;
|
||||
line-height: 1.428571429;
|
||||
text-decoration: none;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #dddddd;
|
||||
}
|
||||
|
||||
.pagination > li:first-child > a,
|
||||
.pagination > li:first-child > span {
|
||||
margin-left: 0;
|
||||
border-bottom-left-radius: 4px;
|
||||
border-top-left-radius: 4px;
|
||||
}
|
||||
|
||||
.pagination > li:last-child > a,
|
||||
.pagination > li:last-child > span {
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
|
||||
.pagination > li > a:hover,
|
||||
.pagination > li > span:hover,
|
||||
.pagination > li > a:focus,
|
||||
.pagination > li > span:focus {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
.pagination > .active > a,
|
||||
.pagination > .active > span,
|
||||
.pagination > .active > a:hover,
|
||||
.pagination > .active > span:hover,
|
||||
.pagination > .active > a:focus,
|
||||
.pagination > .active > span:focus {
|
||||
z-index: 2;
|
||||
color: #ffffff;
|
||||
cursor: default;
|
||||
background-color: #428bca;
|
||||
border-color: #428bca;
|
||||
}
|
||||
|
||||
.pagination > .disabled > span,
|
||||
.pagination > .disabled > a,
|
||||
.pagination > .disabled > a:hover,
|
||||
.pagination > .disabled > a:focus {
|
||||
color: #999999;
|
||||
cursor: not-allowed;
|
||||
background-color: #ffffff;
|
||||
border-color: #dddddd;
|
||||
}
|
||||
|
||||
.pagination-lg > li > a,
|
||||
.pagination-lg > li > span {
|
||||
padding: 10px 16px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.pagination-lg > li:first-child > a,
|
||||
.pagination-lg > li:first-child > span {
|
||||
border-bottom-left-radius: 6px;
|
||||
border-top-left-radius: 6px;
|
||||
}
|
||||
|
||||
.pagination-lg > li:last-child > a,
|
||||
.pagination-lg > li:last-child > span {
|
||||
border-top-right-radius: 6px;
|
||||
border-bottom-right-radius: 6px;
|
||||
}
|
||||
|
||||
.pagination-sm > li > a,
|
||||
.pagination-sm > li > span {
|
||||
padding: 5px 10px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.pagination-sm > li:first-child > a,
|
||||
.pagination-sm > li:first-child > span {
|
||||
border-bottom-left-radius: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
||||
.pagination-sm > li:last-child > a,
|
||||
.pagination-sm > li:last-child > span {
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
.pager {
|
||||
padding-left: 0;
|
||||
margin: 20px 0;
|
||||
text-align: center;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.pager:before,
|
||||
.pager:after {
|
||||
display: table;
|
||||
content: " ";
|
||||
}
|
||||
|
||||
.pager:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.pager:before,
|
||||
.pager:after {
|
||||
display: table;
|
||||
content: " ";
|
||||
}
|
||||
|
||||
.pager:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.pager li {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.pager li > a,
|
||||
.pager li > span {
|
||||
display: inline-block;
|
||||
padding: 5px 14px;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #dddddd;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.pager li > a:hover,
|
||||
.pager li > a:focus {
|
||||
text-decoration: none;
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
.pager .next > a,
|
||||
.pager .next > span {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.pager .previous > a,
|
||||
.pager .previous > span {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.pager .disabled > a,
|
||||
.pager .disabled > a:hover,
|
||||
.pager .disabled > a:focus,
|
||||
.pager .disabled > span {
|
||||
color: #999999;
|
||||
cursor: not-allowed;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
@@ -89,6 +89,14 @@
|
||||
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="PagedList, Version=1.17.0.0, Culture=neutral, PublicKeyToken=abbb863e9397c5e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\PagedList.1.17.0.0\lib\net40\PagedList.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="PagedList.Mvc, Version=4.5.0.0, Culture=neutral, PublicKeyToken=abbb863e9397c5e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\PagedList.Mvc.4.5.0.0\lib\net40\PagedList.Mvc.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
@@ -260,6 +268,7 @@
|
||||
<Content Include="Content\bootstrap.min.css" />
|
||||
<Content Include="Content\font-awesome.css" />
|
||||
<Content Include="Content\font-awesome.min.css" />
|
||||
<Content Include="Content\PagedList.css" />
|
||||
<Content Include="Content\Site.css">
|
||||
<DependentUpon>Site.less</DependentUpon>
|
||||
</Content>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -29,6 +29,8 @@
|
||||
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net462" />
|
||||
<package id="Node.js" version="0.10.28" targetFramework="net462" />
|
||||
<package id="NoGit" version="0.0.8" targetFramework="net462" />
|
||||
<package id="PagedList" version="1.17.0.0" targetFramework="net462" />
|
||||
<package id="PagedList.Mvc" version="4.5.0.0" targetFramework="net462" />
|
||||
<package id="Respond" version="1.4.2" targetFramework="net462" />
|
||||
<package id="WebActivatorEx" version="2.2.0" targetFramework="net462" />
|
||||
<package id="WebGrease" version="1.6.0" targetFramework="net462" />
|
||||
|
||||
Binary file not shown.
Binary file not shown.
+388
@@ -0,0 +1,388 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>PagedList</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:PagedList.BasePagedList`1">
|
||||
<summary>
|
||||
Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from.
|
||||
</summary>
|
||||
<remarks>
|
||||
Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from.
|
||||
</remarks>
|
||||
<typeparam name="T">The type of object the collection should contain.</typeparam>
|
||||
<seealso cref="T:PagedList.IPagedList`1"/>
|
||||
<seealso cref="T:System.Collections.Generic.List`1"/>
|
||||
</member>
|
||||
<member name="T:PagedList.PagedListMetaData">
|
||||
<summary>
|
||||
Non-enumerable version of the PagedList class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:PagedList.IPagedList">
|
||||
<summary>
|
||||
Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from.
|
||||
</summary>
|
||||
<remarks>
|
||||
Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:PagedList.IPagedList.PageCount">
|
||||
<summary>
|
||||
Total number of subsets within the superset.
|
||||
</summary>
|
||||
<value>
|
||||
Total number of subsets within the superset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.IPagedList.TotalItemCount">
|
||||
<summary>
|
||||
Total number of objects contained within the superset.
|
||||
</summary>
|
||||
<value>
|
||||
Total number of objects contained within the superset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.IPagedList.PageNumber">
|
||||
<summary>
|
||||
One-based index of this subset within the superset.
|
||||
</summary>
|
||||
<value>
|
||||
One-based index of this subset within the superset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.IPagedList.PageSize">
|
||||
<summary>
|
||||
Maximum size any individual subset.
|
||||
</summary>
|
||||
<value>
|
||||
Maximum size any individual subset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.IPagedList.HasPreviousPage">
|
||||
<summary>
|
||||
Returns true if this is NOT the first subset within the superset.
|
||||
</summary>
|
||||
<value>
|
||||
Returns true if this is NOT the first subset within the superset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.IPagedList.HasNextPage">
|
||||
<summary>
|
||||
Returns true if this is NOT the last subset within the superset.
|
||||
</summary>
|
||||
<value>
|
||||
Returns true if this is NOT the last subset within the superset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.IPagedList.IsFirstPage">
|
||||
<summary>
|
||||
Returns true if this is the first subset within the superset.
|
||||
</summary>
|
||||
<value>
|
||||
Returns true if this is the first subset within the superset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.IPagedList.IsLastPage">
|
||||
<summary>
|
||||
Returns true if this is the last subset within the superset.
|
||||
</summary>
|
||||
<value>
|
||||
Returns true if this is the last subset within the superset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.IPagedList.FirstItemOnPage">
|
||||
<summary>
|
||||
One-based index of the first item in the paged subset.
|
||||
</summary>
|
||||
<value>
|
||||
One-based index of the first item in the paged subset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.IPagedList.LastItemOnPage">
|
||||
<summary>
|
||||
One-based index of the last item in the paged subset.
|
||||
</summary>
|
||||
<value>
|
||||
One-based index of the last item in the paged subset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="M:PagedList.PagedListMetaData.#ctor">
|
||||
<summary>
|
||||
Protected constructor that allows for instantiation without passing in a separate list.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:PagedList.PagedListMetaData.#ctor(PagedList.IPagedList)">
|
||||
<summary>
|
||||
Non-enumerable version of the PagedList class.
|
||||
</summary>
|
||||
<param name="pagedList">A PagedList (likely enumerable) to copy metadata from.</param>
|
||||
</member>
|
||||
<member name="P:PagedList.PagedListMetaData.PageCount">
|
||||
<summary>
|
||||
Total number of subsets within the superset.
|
||||
</summary>
|
||||
<value>
|
||||
Total number of subsets within the superset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.PagedListMetaData.TotalItemCount">
|
||||
<summary>
|
||||
Total number of objects contained within the superset.
|
||||
</summary>
|
||||
<value>
|
||||
Total number of objects contained within the superset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.PagedListMetaData.PageNumber">
|
||||
<summary>
|
||||
One-based index of this subset within the superset.
|
||||
</summary>
|
||||
<value>
|
||||
One-based index of this subset within the superset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.PagedListMetaData.PageSize">
|
||||
<summary>
|
||||
Maximum size any individual subset.
|
||||
</summary>
|
||||
<value>
|
||||
Maximum size any individual subset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.PagedListMetaData.HasPreviousPage">
|
||||
<summary>
|
||||
Returns true if this is NOT the first subset within the superset.
|
||||
</summary>
|
||||
<value>
|
||||
Returns true if this is NOT the first subset within the superset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.PagedListMetaData.HasNextPage">
|
||||
<summary>
|
||||
Returns true if this is NOT the last subset within the superset.
|
||||
</summary>
|
||||
<value>
|
||||
Returns true if this is NOT the last subset within the superset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.PagedListMetaData.IsFirstPage">
|
||||
<summary>
|
||||
Returns true if this is the first subset within the superset.
|
||||
</summary>
|
||||
<value>
|
||||
Returns true if this is the first subset within the superset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.PagedListMetaData.IsLastPage">
|
||||
<summary>
|
||||
Returns true if this is the last subset within the superset.
|
||||
</summary>
|
||||
<value>
|
||||
Returns true if this is the last subset within the superset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.PagedListMetaData.FirstItemOnPage">
|
||||
<summary>
|
||||
One-based index of the first item in the paged subset.
|
||||
</summary>
|
||||
<value>
|
||||
One-based index of the first item in the paged subset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:PagedList.PagedListMetaData.LastItemOnPage">
|
||||
<summary>
|
||||
One-based index of the last item in the paged subset.
|
||||
</summary>
|
||||
<value>
|
||||
One-based index of the last item in the paged subset.
|
||||
</value>
|
||||
</member>
|
||||
<member name="T:PagedList.IPagedList`1">
|
||||
<summary>
|
||||
Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from.
|
||||
</summary>
|
||||
<remarks>
|
||||
Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from.
|
||||
</remarks>
|
||||
<typeparam name="T">The type of object the collection should contain.</typeparam>
|
||||
<seealso cref="T:System.Collections.Generic.IEnumerable`1"/>
|
||||
</member>
|
||||
<member name="M:PagedList.IPagedList`1.GetMetaData">
|
||||
<summary>
|
||||
Gets a non-enumerable copy of this paged list.
|
||||
</summary>
|
||||
<returns>A non-enumerable copy of this paged list.</returns>
|
||||
</member>
|
||||
<member name="P:PagedList.IPagedList`1.Item(System.Int32)">
|
||||
<summary>
|
||||
Gets the element at the specified index.
|
||||
</summary>
|
||||
<param name="index">The zero-based index of the element to get.</param>
|
||||
</member>
|
||||
<member name="P:PagedList.IPagedList`1.Count">
|
||||
<summary>
|
||||
Gets the number of elements contained on this page.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:PagedList.BasePagedList`1.Subset">
|
||||
<summary>
|
||||
The subset of items contained only within this one page of the superset.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:PagedList.BasePagedList`1.#ctor">
|
||||
<summary>
|
||||
Parameterless constructor.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:PagedList.BasePagedList`1.#ctor(System.Int32,System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Initializes a new instance of a type deriving from <see cref="T:PagedList.BasePagedList`1"/> and sets properties needed to calculate position and size data on the subset and superset.
|
||||
</summary>
|
||||
<param name="pageNumber">The one-based index of the subset of objects contained by this instance.</param>
|
||||
<param name="pageSize">The maximum size of any individual subset.</param>
|
||||
<param name="totalItemCount">The size of the superset.</param>
|
||||
</member>
|
||||
<member name="M:PagedList.BasePagedList`1.GetEnumerator">
|
||||
<summary>
|
||||
Returns an enumerator that iterates through the BasePagedList<T>.
|
||||
</summary>
|
||||
<returns>A BasePagedList<T>.Enumerator for the BasePagedList<T>.</returns>
|
||||
</member>
|
||||
<member name="M:PagedList.BasePagedList`1.System#Collections#IEnumerable#GetEnumerator">
|
||||
<summary>
|
||||
Returns an enumerator that iterates through the BasePagedList<T>.
|
||||
</summary>
|
||||
<returns>A BasePagedList<T>.Enumerator for the BasePagedList<T>.</returns>
|
||||
</member>
|
||||
<member name="M:PagedList.BasePagedList`1.GetMetaData">
|
||||
<summary>
|
||||
Gets a non-enumerable copy of this paged list.
|
||||
</summary>
|
||||
<returns>A non-enumerable copy of this paged list.</returns>
|
||||
</member>
|
||||
<member name="P:PagedList.BasePagedList`1.Item(System.Int32)">
|
||||
<summary>
|
||||
Gets the element at the specified index.
|
||||
</summary>
|
||||
<param name = "index">The zero-based index of the element to get.</param>
|
||||
</member>
|
||||
<member name="P:PagedList.BasePagedList`1.Count">
|
||||
<summary>
|
||||
Gets the number of elements contained on this page.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:PagedList.PagedList`1">
|
||||
<summary>
|
||||
Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from.
|
||||
</summary>
|
||||
<remarks>
|
||||
Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from.
|
||||
</remarks>
|
||||
<typeparam name="T">The type of object the collection should contain.</typeparam>
|
||||
<seealso cref="T:PagedList.IPagedList`1"/>
|
||||
<seealso cref="T:PagedList.BasePagedList`1"/>
|
||||
<seealso cref="T:PagedList.StaticPagedList`1"/>
|
||||
<seealso cref="T:System.Collections.Generic.List`1"/>
|
||||
</member>
|
||||
<member name="M:PagedList.PagedList`1.#ctor(System.Linq.IQueryable{`0},System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:PagedList.PagedList`1"/> class that divides the supplied superset into subsets the size of the supplied pageSize. The instance then only containes the objects contained in the subset specified by index.
|
||||
</summary>
|
||||
<param name="superset">The collection of objects to be divided into subsets. If the collection implements <see cref="T:System.Linq.IQueryable`1"/>, it will be treated as such.</param>
|
||||
<param name="pageNumber">The one-based index of the subset of objects to be contained by this instance.</param>
|
||||
<param name="pageSize">The maximum size of any individual subset.</param>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The specified index cannot be less than zero.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The specified page size cannot be less than one.</exception>
|
||||
</member>
|
||||
<member name="M:PagedList.PagedList`1.#ctor(System.Collections.Generic.IEnumerable{`0},System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:PagedList.PagedList`1"/> class that divides the supplied superset into subsets the size of the supplied pageSize. The instance then only containes the objects contained in the subset specified by index.
|
||||
</summary>
|
||||
<param name="superset">The collection of objects to be divided into subsets. If the collection implements <see cref="T:System.Linq.IQueryable`1"/>, it will be treated as such.</param>
|
||||
<param name="pageNumber">The one-based index of the subset of objects to be contained by this instance.</param>
|
||||
<param name="pageSize">The maximum size of any individual subset.</param>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The specified index cannot be less than zero.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The specified page size cannot be less than one.</exception>
|
||||
</member>
|
||||
<member name="T:PagedList.PagedListExtensions">
|
||||
<summary>
|
||||
Container for extension methods designed to simplify the creation of instances of <see cref="T:PagedList.PagedList`1"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:PagedList.PagedListExtensions.ToPagedList``1(System.Collections.Generic.IEnumerable{``0},System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Creates a subset of this collection of objects that can be individually accessed by index and containing metadata about the collection of objects the subset was created from.
|
||||
</summary>
|
||||
<typeparam name="T">The type of object the collection should contain.</typeparam>
|
||||
<param name="superset">The collection of objects to be divided into subsets. If the collection implements <see cref="T:System.Linq.IQueryable`1"/>, it will be treated as such.</param>
|
||||
<param name="pageNumber">The one-based index of the subset of objects to be contained by this instance.</param>
|
||||
<param name="pageSize">The maximum size of any individual subset.</param>
|
||||
<returns>A subset of this collection of objects that can be individually accessed by index and containing metadata about the collection of objects the subset was created from.</returns>
|
||||
<seealso cref="T:PagedList.PagedList`1"/>
|
||||
</member>
|
||||
<member name="M:PagedList.PagedListExtensions.ToPagedList``1(System.Linq.IQueryable{``0},System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Creates a subset of this collection of objects that can be individually accessed by index and containing metadata about the collection of objects the subset was created from.
|
||||
</summary>
|
||||
<typeparam name="T">The type of object the collection should contain.</typeparam>
|
||||
<param name="superset">The collection of objects to be divided into subsets. If the collection implements <see cref="T:System.Linq.IQueryable`1"/>, it will be treated as such.</param>
|
||||
<param name="pageNumber">The one-based index of the subset of objects to be contained by this instance.</param>
|
||||
<param name="pageSize">The maximum size of any individual subset.</param>
|
||||
<returns>A subset of this collection of objects that can be individually accessed by index and containing metadata about the collection of objects the subset was created from.</returns>
|
||||
<seealso cref="T:PagedList.PagedList`1"/>
|
||||
</member>
|
||||
<member name="M:PagedList.PagedListExtensions.Split``1(System.Collections.Generic.IEnumerable{``0},System.Int32)">
|
||||
<summary>
|
||||
Splits a collection of objects into n pages with an (for example, if I have a list of 45 shoes and say 'shoes.Split(5)' I will now have 4 pages of 10 shoes and 1 page of 5 shoes.
|
||||
</summary>
|
||||
<typeparam name="T">The type of object the collection should contain.</typeparam>
|
||||
<param name="superset">The collection of objects to be divided into subsets.</param>
|
||||
<param name="numberOfPages">The number of pages this collection should be split into.</param>
|
||||
<returns>A subset of this collection of objects, split into n pages.</returns>
|
||||
</member>
|
||||
<member name="M:PagedList.PagedListExtensions.Partition``1(System.Collections.Generic.IEnumerable{``0},System.Int32)">
|
||||
<summary>
|
||||
Splits a collection of objects into an unknown number of pages with n items per page (for example, if I have a list of 45 shoes and say 'shoes.Partition(10)' I will now have 4 pages of 10 shoes and 1 page of 5 shoes.
|
||||
</summary>
|
||||
<typeparam name="T">The type of object the collection should contain.</typeparam>
|
||||
<param name="superset">The collection of objects to be divided into subsets.</param>
|
||||
<param name="pageSize">The maximum number of items each page may contain.</param>
|
||||
<returns>A subset of this collection of objects, split into pages of maximum size n.</returns>
|
||||
</member>
|
||||
<member name="T:PagedList.StaticPagedList`1">
|
||||
<summary>
|
||||
Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from.
|
||||
</summary>
|
||||
<remarks>
|
||||
Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from.
|
||||
</remarks>
|
||||
<typeparam name="T">The type of object the collection should contain.</typeparam>
|
||||
<seealso cref="T:PagedList.IPagedList`1"/>
|
||||
<seealso cref="T:PagedList.BasePagedList`1"/>
|
||||
<seealso cref="T:PagedList.PagedList`1"/>
|
||||
<seealso cref="T:System.Collections.Generic.List`1"/>
|
||||
</member>
|
||||
<member name="M:PagedList.StaticPagedList`1.#ctor(System.Collections.Generic.IEnumerable{`0},PagedList.IPagedList)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:PagedList.StaticPagedList`1"/> class that contains the already divided subset and information about the size of the superset and the subset's position within it.
|
||||
</summary>
|
||||
<param name="subset">The single subset this collection should represent.</param>
|
||||
<param name="metaData">Supply the ".MetaData" property of an existing IPagedList instance to recreate it here (such as when creating a new instance of a PagedList after having used Automapper to convert its contents to a DTO.)</param>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The specified index cannot be less than zero.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The specified page size cannot be less than one.</exception>
|
||||
</member>
|
||||
<member name="M:PagedList.StaticPagedList`1.#ctor(System.Collections.Generic.IEnumerable{`0},System.Int32,System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:PagedList.StaticPagedList`1"/> class that contains the already divided subset and information about the size of the superset and the subset's position within it.
|
||||
</summary>
|
||||
<param name="subset">The single subset this collection should represent.</param>
|
||||
<param name="pageNumber">The one-based index of the subset of objects contained by this instance.</param>
|
||||
<param name="pageSize">The maximum size of any individual subset.</param>
|
||||
<param name="totalItemCount">The size of the superset.</param>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The specified index cannot be less than zero.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The specified page size cannot be less than one.</exception>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
@@ -0,0 +1,166 @@
|
||||
.pagination {
|
||||
display: inline-block;
|
||||
padding-left: 0;
|
||||
margin: 20px 0;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.pagination > li {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.pagination > li > a,
|
||||
.pagination > li > span {
|
||||
position: relative;
|
||||
float: left;
|
||||
padding: 6px 12px;
|
||||
margin-left: -1px;
|
||||
line-height: 1.428571429;
|
||||
text-decoration: none;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #dddddd;
|
||||
}
|
||||
|
||||
.pagination > li:first-child > a,
|
||||
.pagination > li:first-child > span {
|
||||
margin-left: 0;
|
||||
border-bottom-left-radius: 4px;
|
||||
border-top-left-radius: 4px;
|
||||
}
|
||||
|
||||
.pagination > li:last-child > a,
|
||||
.pagination > li:last-child > span {
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
|
||||
.pagination > li > a:hover,
|
||||
.pagination > li > span:hover,
|
||||
.pagination > li > a:focus,
|
||||
.pagination > li > span:focus {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
.pagination > .active > a,
|
||||
.pagination > .active > span,
|
||||
.pagination > .active > a:hover,
|
||||
.pagination > .active > span:hover,
|
||||
.pagination > .active > a:focus,
|
||||
.pagination > .active > span:focus {
|
||||
z-index: 2;
|
||||
color: #ffffff;
|
||||
cursor: default;
|
||||
background-color: #428bca;
|
||||
border-color: #428bca;
|
||||
}
|
||||
|
||||
.pagination > .disabled > span,
|
||||
.pagination > .disabled > a,
|
||||
.pagination > .disabled > a:hover,
|
||||
.pagination > .disabled > a:focus {
|
||||
color: #999999;
|
||||
cursor: not-allowed;
|
||||
background-color: #ffffff;
|
||||
border-color: #dddddd;
|
||||
}
|
||||
|
||||
.pagination-lg > li > a,
|
||||
.pagination-lg > li > span {
|
||||
padding: 10px 16px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.pagination-lg > li:first-child > a,
|
||||
.pagination-lg > li:first-child > span {
|
||||
border-bottom-left-radius: 6px;
|
||||
border-top-left-radius: 6px;
|
||||
}
|
||||
|
||||
.pagination-lg > li:last-child > a,
|
||||
.pagination-lg > li:last-child > span {
|
||||
border-top-right-radius: 6px;
|
||||
border-bottom-right-radius: 6px;
|
||||
}
|
||||
|
||||
.pagination-sm > li > a,
|
||||
.pagination-sm > li > span {
|
||||
padding: 5px 10px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.pagination-sm > li:first-child > a,
|
||||
.pagination-sm > li:first-child > span {
|
||||
border-bottom-left-radius: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
||||
.pagination-sm > li:last-child > a,
|
||||
.pagination-sm > li:last-child > span {
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
.pager {
|
||||
padding-left: 0;
|
||||
margin: 20px 0;
|
||||
text-align: center;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.pager:before,
|
||||
.pager:after {
|
||||
display: table;
|
||||
content: " ";
|
||||
}
|
||||
|
||||
.pager:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.pager:before,
|
||||
.pager:after {
|
||||
display: table;
|
||||
content: " ";
|
||||
}
|
||||
|
||||
.pager:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.pager li {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.pager li > a,
|
||||
.pager li > span {
|
||||
display: inline-block;
|
||||
padding: 5px 14px;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #dddddd;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.pager li > a:hover,
|
||||
.pager li > a:focus {
|
||||
text-decoration: none;
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
.pager .next > a,
|
||||
.pager .next > span {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.pager .previous > a,
|
||||
.pager .previous > span {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.pager .disabled > a,
|
||||
.pager .disabled > a:hover,
|
||||
.pager .disabled > a:focus,
|
||||
.pager .disabled > span {
|
||||
color: #999999;
|
||||
cursor: not-allowed;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,370 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>PagedList.Mvc</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:PagedList.Mvc.GoToFormRenderOptions">
|
||||
<summary>
|
||||
Options for configuring the output of <see cref="T:PagedList.Mvc.HtmlHelper"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:PagedList.Mvc.GoToFormRenderOptions.#ctor(System.String)">
|
||||
<summary>
|
||||
The default settings, with configurable querystring key (input field name).
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:PagedList.Mvc.GoToFormRenderOptions.#ctor">
|
||||
<summary>
|
||||
The default settings.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.GoToFormRenderOptions.LabelFormat">
|
||||
<summary>
|
||||
The text to show in the form's input label.
|
||||
</summary>
|
||||
<example>
|
||||
"Go to page:"
|
||||
</example>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.GoToFormRenderOptions.SubmitButtonFormat">
|
||||
<summary>
|
||||
The text to show in the form's submit button.
|
||||
</summary>
|
||||
<example>
|
||||
"Go"
|
||||
</example>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.GoToFormRenderOptions.InputFieldName">
|
||||
<summary>
|
||||
The querystring key this form should submit the new page number as.
|
||||
</summary>
|
||||
<example>
|
||||
"page"
|
||||
</example>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.GoToFormRenderOptions.InputFieldType">
|
||||
<summary>
|
||||
The HTML input type for this field. Defaults to the HTML5 "number" type, but can be changed to "text" if targetting previous versions of HTML.
|
||||
</summary>
|
||||
<example>
|
||||
"number"
|
||||
</example>
|
||||
</member>
|
||||
<member name="T:PagedList.Mvc.HtmlHelper">
|
||||
<summary>
|
||||
Extension methods for generating paging controls that can operate on instances of IPagedList.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:PagedList.Mvc.HtmlHelper.PagedListPager(System.Web.Mvc.HtmlHelper,PagedList.IPagedList,System.Func{System.Int32,System.String})">
|
||||
<summary>
|
||||
Displays a configurable paging control for instances of PagedList.
|
||||
</summary>
|
||||
<param name = "html">This method is meant to hook off HtmlHelper as an extension method.</param>
|
||||
<param name = "list">The PagedList to use as the data source.</param>
|
||||
<param name = "generatePageUrl">A function that takes the page number of the desired page and returns a URL-string that will load that page.</param>
|
||||
<returns>Outputs the paging control HTML.</returns>
|
||||
</member>
|
||||
<member name="M:PagedList.Mvc.HtmlHelper.PagedListPager(System.Web.Mvc.HtmlHelper,PagedList.IPagedList,System.Func{System.Int32,System.String},PagedList.Mvc.PagedListRenderOptions)">
|
||||
<summary>
|
||||
Displays a configurable paging control for instances of PagedList.
|
||||
</summary>
|
||||
<param name = "html">This method is meant to hook off HtmlHelper as an extension method.</param>
|
||||
<param name = "list">The PagedList to use as the data source.</param>
|
||||
<param name = "generatePageUrl">A function that takes the page number of the desired page and returns a URL-string that will load that page.</param>
|
||||
<param name = "options">Formatting options.</param>
|
||||
<returns>Outputs the paging control HTML.</returns>
|
||||
</member>
|
||||
<member name="M:PagedList.Mvc.HtmlHelper.PagedListGoToPageForm(System.Web.Mvc.HtmlHelper,PagedList.IPagedList,System.String)">
|
||||
<summary>
|
||||
Displays a configurable "Go To Page:" form for instances of PagedList.
|
||||
</summary>
|
||||
<param name="html">This method is meant to hook off HtmlHelper as an extension method.</param>
|
||||
<param name="list">The PagedList to use as the data source.</param>
|
||||
<param name="formAction">The URL this form should submit the GET request to.</param>
|
||||
<returns>Outputs the "Go To Page:" form HTML.</returns>
|
||||
</member>
|
||||
<member name="M:PagedList.Mvc.HtmlHelper.PagedListGoToPageForm(System.Web.Mvc.HtmlHelper,PagedList.IPagedList,System.String,System.String)">
|
||||
<summary>
|
||||
Displays a configurable "Go To Page:" form for instances of PagedList.
|
||||
</summary>
|
||||
<param name="html">This method is meant to hook off HtmlHelper as an extension method.</param>
|
||||
<param name="list">The PagedList to use as the data source.</param>
|
||||
<param name="formAction">The URL this form should submit the GET request to.</param>
|
||||
<param name="inputFieldName">The querystring key this form should submit the new page number as.</param>
|
||||
<returns>Outputs the "Go To Page:" form HTML.</returns>
|
||||
</member>
|
||||
<member name="M:PagedList.Mvc.HtmlHelper.PagedListGoToPageForm(System.Web.Mvc.HtmlHelper,PagedList.IPagedList,System.String,PagedList.Mvc.GoToFormRenderOptions)">
|
||||
<summary>
|
||||
Displays a configurable "Go To Page:" form for instances of PagedList.
|
||||
</summary>
|
||||
<param name="html">This method is meant to hook off HtmlHelper as an extension method.</param>
|
||||
<param name="list">The PagedList to use as the data source.</param>
|
||||
<param name="formAction">The URL this form should submit the GET request to.</param>
|
||||
<param name="options">Formatting options.</param>
|
||||
<returns>Outputs the "Go To Page:" form HTML.</returns>
|
||||
</member>
|
||||
<member name="T:PagedList.Mvc.PagedListDisplayMode">
|
||||
<summary>
|
||||
A tri-state enum that controls the visibility of portions of the PagedList paging control.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:PagedList.Mvc.PagedListDisplayMode.Always">
|
||||
<summary>
|
||||
Always render.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:PagedList.Mvc.PagedListDisplayMode.Never">
|
||||
<summary>
|
||||
Never render.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:PagedList.Mvc.PagedListDisplayMode.IfNeeded">
|
||||
<summary>
|
||||
Only render when there is data that makes sense to show (context sensitive).
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:PagedList.Mvc.PagedListRenderOptions">
|
||||
<summary>
|
||||
Options for configuring the output of <see cref="T:PagedList.Mvc.HtmlHelper"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:PagedList.Mvc.PagedListRenderOptions.#ctor">
|
||||
<summary>
|
||||
The default settings render all navigation links and no descriptive text.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:PagedList.Mvc.PagedListRenderOptions.EnableUnobtrusiveAjaxReplacing(PagedList.Mvc.PagedListRenderOptions,System.Web.Mvc.Ajax.AjaxOptions)">
|
||||
<summary>
|
||||
Enables ASP.NET MVC's unobtrusive AJAX feature. An XHR request will retrieve HTML from the clicked page and replace the innerHtml of the provided element ID.
|
||||
</summary>
|
||||
<param name="options">The preferred Html.PagedList(...) style options.</param>
|
||||
<param name="ajaxOptions">The ajax options that will put into the link</param>
|
||||
<returns>The PagedListRenderOptions value passed in, with unobtrusive AJAX attributes added to the page links.</returns>
|
||||
</member>
|
||||
<member name="M:PagedList.Mvc.PagedListRenderOptions.EnableUnobtrusiveAjaxReplacing(System.String)">
|
||||
<summary>
|
||||
Enables ASP.NET MVC's unobtrusive AJAX feature. An XHR request will retrieve HTML from the clicked page and replace the innerHtml of the provided element ID.
|
||||
</summary>
|
||||
<param name="id">The element ID ("my_id") of the element whose innerHtml should be replaced, if # is included at the start this will be removed.</param>
|
||||
<returns>A default instance of PagedListRenderOptions value passed in, with unobtrusive AJAX attributes added to the page links.</returns>
|
||||
</member>
|
||||
<member name="M:PagedList.Mvc.PagedListRenderOptions.EnableUnobtrusiveAjaxReplacing(System.Web.Mvc.Ajax.AjaxOptions)">
|
||||
<summary>
|
||||
Enables ASP.NET MVC's unobtrusive AJAX feature. An XHR request will retrieve HTML from the clicked page and replace the innerHtml of the provided element ID.
|
||||
</summary>
|
||||
<param name="ajaxOptions">Ajax options that will be used to generate the unobstrusive tags on the link</param>
|
||||
<returns>A default instance of PagedListRenderOptions value passed in, with unobtrusive AJAX attributes added to the page links.</returns>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.ContainerDivClasses">
|
||||
<summary>
|
||||
CSS Classes to append to the <div> element that wraps the paging control.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.UlElementClasses">
|
||||
<summary>
|
||||
CSSClasses to append to the <ul> element in the paging control.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.LiElementClasses">
|
||||
<summary>
|
||||
CSS Classes to append to every <li> element in the paging control.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.ClassToApplyToFirstListItemInPager">
|
||||
<summary>
|
||||
Specifies a CSS class to append to the first list item in the pager. If null or whitespace is defined, no additional class is added to first list item in list.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.ClassToApplyToLastListItemInPager">
|
||||
<summary>
|
||||
Specifies a CSS class to append to the last list item in the pager. If null or whitespace is defined, no additional class is added to last list item in list.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.Display">
|
||||
<summary>
|
||||
If set to Always, always renders the paging control. If set to IfNeeded, render the paging control when there is more than one page.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.DisplayLinkToFirstPage">
|
||||
<summary>
|
||||
If set to Always, render a hyperlink to the first page in the list. If set to IfNeeded, render the hyperlink only when the first page isn't visible in the paging control.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.DisplayLinkToLastPage">
|
||||
<summary>
|
||||
If set to Always, render a hyperlink to the last page in the list. If set to IfNeeded, render the hyperlink only when the last page isn't visible in the paging control.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.DisplayLinkToPreviousPage">
|
||||
<summary>
|
||||
If set to Always, render a hyperlink to the previous page of the list. If set to IfNeeded, render the hyperlink only when there is a previous page in the list.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.DisplayLinkToNextPage">
|
||||
<summary>
|
||||
If set to Always, render a hyperlink to the next page of the list. If set to IfNeeded, render the hyperlink only when there is a next page in the list.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.DisplayLinkToIndividualPages">
|
||||
<summary>
|
||||
When true, includes hyperlinks for each page in the list.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.DisplayPageCountAndCurrentLocation">
|
||||
<summary>
|
||||
When true, shows the current page number and the total number of pages in the list.
|
||||
</summary>
|
||||
<example>
|
||||
"Page 3 of 8."
|
||||
</example>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.DisplayItemSliceAndTotal">
|
||||
<summary>
|
||||
When true, shows the one-based index of the first and last items on the page, and the total number of items in the list.
|
||||
</summary>
|
||||
<example>
|
||||
"Showing items 75 through 100 of 183."
|
||||
</example>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.MaximumPageNumbersToDisplay">
|
||||
<summary>
|
||||
The maximum number of page numbers to display. Null displays all page numbers.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.DisplayEllipsesWhenNotShowingAllPageNumbers">
|
||||
<summary>
|
||||
If true, adds an ellipsis where not all page numbers are being displayed.
|
||||
</summary>
|
||||
<example>
|
||||
"1 2 3 4 5 ...",
|
||||
"... 6 7 8 9 10 ...",
|
||||
"... 11 12 13 14 15"
|
||||
</example>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.EllipsesFormat">
|
||||
<summary>
|
||||
The pre-formatted text to display when not all page numbers are displayed at once.
|
||||
</summary>
|
||||
<example>
|
||||
"..."
|
||||
</example>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.LinkToFirstPageFormat">
|
||||
<summary>
|
||||
The pre-formatted text to display inside the hyperlink to the first page. The one-based index of the page (always 1 in this case) is passed into the formatting function - use {0} to reference it.
|
||||
</summary>
|
||||
<example>
|
||||
"<< First"
|
||||
</example>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.LinkToPreviousPageFormat">
|
||||
<summary>
|
||||
The pre-formatted text to display inside the hyperlink to the previous page. The one-based index of the page is passed into the formatting function - use {0} to reference it.
|
||||
</summary>
|
||||
<example>
|
||||
"< Previous"
|
||||
</example>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.LinkToIndividualPageFormat">
|
||||
<summary>
|
||||
The pre-formatted text to display inside the hyperlink to each individual page. The one-based index of the page is passed into the formatting function - use {0} to reference it.
|
||||
</summary>
|
||||
<example>
|
||||
"{0}"
|
||||
</example>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.LinkToNextPageFormat">
|
||||
<summary>
|
||||
The pre-formatted text to display inside the hyperlink to the next page. The one-based index of the page is passed into the formatting function - use {0} to reference it.
|
||||
</summary>
|
||||
<example>
|
||||
"Next >"
|
||||
</example>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.LinkToLastPageFormat">
|
||||
<summary>
|
||||
The pre-formatted text to display inside the hyperlink to the last page. The one-based index of the page is passed into the formatting function - use {0} to reference it.
|
||||
</summary>
|
||||
<example>
|
||||
"Last >>"
|
||||
</example>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.PageCountAndCurrentLocationFormat">
|
||||
<summary>
|
||||
The pre-formatted text to display when DisplayPageCountAndCurrentLocation is true. Use {0} to reference the current page and {1} to reference the total number of pages.
|
||||
</summary>
|
||||
<example>
|
||||
"Page {0} of {1}."
|
||||
</example>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.ItemSliceAndTotalFormat">
|
||||
<summary>
|
||||
The pre-formatted text to display when DisplayItemSliceAndTotal is true. Use {0} to reference the first item on the page, {1} for the last item on the page, and {2} for the total number of items across all pages.
|
||||
</summary>
|
||||
<example>
|
||||
"Showing items {0} through {1} of {2}."
|
||||
</example>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.FunctionToDisplayEachPageNumber">
|
||||
<summary>
|
||||
A function that will render each page number when specified (and DisplayLinkToIndividualPages is true). If no function is specified, the LinkToIndividualPageFormat value will be used instead.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.DelimiterBetweenPageNumbers">
|
||||
<summary>
|
||||
Text that will appear between each page number. If null or whitespace is specified, no delimiter will be shown.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.FunctionToTransformEachPageLink">
|
||||
<summary>
|
||||
An extension point which allows you to fully customize the anchor tags used for clickable pages, as well as navigation features such as Next, Last, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.Classic">
|
||||
<summary>
|
||||
Also includes links to First and Last pages.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.ClassicPlusFirstAndLast">
|
||||
<summary>
|
||||
Also includes links to First and Last pages.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.Minimal">
|
||||
<summary>
|
||||
Shows only the Previous and Next links.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.MinimalWithPageCountText">
|
||||
<summary>
|
||||
Shows Previous and Next links along with current page number and page count.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.MinimalWithItemCountText">
|
||||
<summary>
|
||||
Shows Previous and Next links along with index of first and last items on page and total number of items across all pages.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.PageNumbersOnly">
|
||||
<summary>
|
||||
Shows only links to each individual page.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.OnlyShowFivePagesAtATime">
|
||||
<summary>
|
||||
Shows Next and Previous while limiting to a max of 5 page numbers at a time.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.TwitterBootstrapPager">
|
||||
<summary>
|
||||
Twitter Bootstrap 2's basic pager format (just Previous and Next links).
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:PagedList.Mvc.PagedListRenderOptions.TwitterBootstrapPagerAligned">
|
||||
<summary>
|
||||
Twitter Bootstrap 2's basic pager format (just Previous and Next links), with aligned links.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
Binary file not shown.
Reference in New Issue
Block a user