Commit b156b88 1 parent ff38d51 commit b156b88 Copy full SHA for b156b88
File tree 25 files changed +43
-48
lines changed
Areas/Internal/Views/Admin
25 files changed +43
-48
lines changed Original file line number Diff line number Diff line change 1
1
@model IPagedList <string >
2
2
3
3
@using X .PagedList ;
4
- @using X .Web . PagedList
4
+ @using X .PagedList . Mvc . Core
5
5
6
6
@{
7
7
ViewBag .Title = " Internal Admin Product Listing" ;
Original file line number Diff line number Diff line change 8
8
<ItemGroup >
9
9
<ProjectReference Include =" ..\..\src\X.Extensions.PagedList.EF\X.Extensions.PagedList.EF.csproj" />
10
10
<ProjectReference Include =" ..\..\src\X.PagedList\X.PagedList.csproj" />
11
- <ProjectReference Include =" ..\..\src\X.Web. PagedList\X.Web. PagedList.csproj" />
11
+ <ProjectReference Include =" ..\..\src\X.PagedList.Mvc.Core \X.PagedList.Mvc.Core .csproj" />
12
12
<ProjectReference Include =" ..\Example.DAL\Example.DAL.csproj" />
13
13
</ItemGroup >
14
14
Original file line number Diff line number Diff line change 4
4
}
5
5
6
6
@using X .PagedList ;
7
- @using X .Web . PagedList
7
+ @using X .PagedList . Mvc . Core
8
8
@* import this so we can cast our list to IPagedList (only necessary because ViewBag is dynamic)*@
9
9
10
10
<!-- import the included stylesheet for some (very basic) default styling -->
Original file line number Diff line number Diff line change 4
4
}
5
5
6
6
@using X .PagedList ;
7
- @using X .Web . PagedList
8
- @using X .Web . PagedList .Fluent
7
+ @using X .PagedList . Mvc . Core
8
+ @using X .PagedList . Mvc . Core .Fluent
9
9
@* import this so we can cast our list to IPagedList (only necessary because ViewBag is dynamic)*@
10
10
11
11
Original file line number Diff line number Diff line change 4
4
}
5
5
6
6
@using X .PagedList ;
7
- @using X .Web . PagedList
8
- @using X .Web . PagedList .Fluent
7
+ @using X .PagedList . Mvc . Core
8
+ @using X .PagedList . Mvc . Core .Fluent
9
9
@* import this so we can cast our list to IPagedList (only necessary because ViewBag is dynamic)*@
10
10
11
11
Original file line number Diff line number Diff line change 1
1
@using System .Text
2
- @using X .Web . PagedList
2
+ @using X .PagedList . Mvc . Core
3
3
4
4
@model X .PagedList .IPagedList
5
5
Original file line number Diff line number Diff line change 1
1
@using System .Text
2
- @using X .Web . PagedList
2
+ @using X .PagedList . Mvc . Core
3
3
4
4
@model X .PagedList .IPagedList
5
5
Original file line number Diff line number Diff line change 1
1
using System . Collections . Generic ;
2
2
3
- namespace X . Web . PagedList ;
3
+ namespace X . PagedList . Mvc . Core ;
4
4
5
5
public class AjaxOptions
6
6
{
Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using Microsoft . AspNetCore . Html ;
3
3
using Microsoft . AspNetCore . Mvc . Rendering ;
4
- using X . PagedList ;
5
4
6
- namespace X . Web . PagedList . Fluent ;
5
+ namespace X . PagedList . Mvc . Core . Fluent ;
7
6
8
7
internal sealed class HtmlPagerBuilder : IHtmlPagerBuilder
9
8
{
Original file line number Diff line number Diff line change 2
2
using JetBrains . Annotations ;
3
3
using Microsoft . AspNetCore . Html ;
4
4
using Microsoft . AspNetCore . Mvc . Rendering ;
5
- using X . PagedList ;
6
5
7
- namespace X . Web . PagedList . Fluent ;
6
+ namespace X . PagedList . Mvc . Core . Fluent ;
8
7
9
8
[ PublicAPI ]
10
9
public static class HtmlPagerExtensions
Original file line number Diff line number Diff line change 2
2
using JetBrains . Annotations ;
3
3
using Microsoft . AspNetCore . Html ;
4
4
5
- namespace X . Web . PagedList . Fluent ;
5
+ namespace X . PagedList . Mvc . Core . Fluent ;
6
6
7
7
[ PublicAPI ]
8
8
public interface IHtmlPagerBuilder
Original file line number Diff line number Diff line change 1
- namespace X . Web . PagedList ;
1
+ namespace X . PagedList . Mvc . Core ;
2
2
3
3
///<summary>
4
4
/// Options for configuring the output of <see cref = "HtmlHelper" />.
Original file line number Diff line number Diff line change 4
4
using System . Linq ;
5
5
using System . Text ;
6
6
using Microsoft . AspNetCore . Mvc . Rendering ;
7
- using X . PagedList ;
8
7
9
- namespace X . Web . PagedList ;
8
+ namespace X . PagedList . Mvc . Core ;
10
9
11
10
public class HtmlHelper
12
11
{
Original file line number Diff line number Diff line change 3
3
using JetBrains . Annotations ;
4
4
using Microsoft . AspNetCore . Html ;
5
5
using Microsoft . AspNetCore . Mvc . Rendering ;
6
- using X . PagedList ;
7
6
8
- namespace X . Web . PagedList ;
7
+ namespace X . PagedList . Mvc . Core ;
9
8
10
9
///<summary>
11
10
/// Extension methods for generating paging controls that can operate on instances of IPagedList.
Original file line number Diff line number Diff line change 1
- namespace X . Web . PagedList ;
1
+ namespace X . PagedList . Mvc . Core ;
2
2
3
3
/// <summary>
4
4
/// A two-state enum that controls the position of ItemSliceAndTotal text within PagedList items.
Original file line number Diff line number Diff line change 1
- namespace X . Web . PagedList ;
1
+ namespace X . PagedList . Mvc . Core ;
2
2
3
3
/// <summary>
4
4
/// A tri-state enum that controls the visibility of portions of the PagedList paging control.
Original file line number Diff line number Diff line change 4
4
using System . Text . Encodings . Web ;
5
5
using Microsoft . AspNetCore . Mvc . Rendering ;
6
6
7
- namespace X . Web . PagedList ;
7
+ namespace X . PagedList . Mvc . Core ;
8
8
9
9
public class PagedListRenderOptions
10
10
{
Original file line number Diff line number Diff line change 1
- # X.PagedList.Mvc.Core
1
+ # X.Web.PagedList
2
2
3
- The X.PagedList.Mvc.Core library is a tool designed for ASP.NET Core applications that facilitates pagination of
4
- collections like IEnumerable and IQueryable.
5
-
6
- ## Important announcement
7
- In a continuous effort to enhance library quality and support, this package has been migrated to X.Web.PagedList.
3
+ [ ![ NuGet Version] ( http://img.shields.io/nuget/v/X.Web.PagedList.svg?style=flat )] ( https://www.nuget.org/packages/X.Web.PagedList/ )
4
+ [ ![ Twitter URL] ( https://img.shields.io/twitter/url/https/twitter.com/andrew_gubskiy.svg?style=social&label=Follow%20me! )] ( https://twitter.com/intent/user?screen_name=andrew_gubskiy )
8
5
9
- From now on, please use [ X.Web.PagedList] ( https://www.nuget.org/packages/X.Web.PagedList/ ) instead of this package.
10
6
11
- It's important to note that you must update your code to use the ` X.PagedList ` namespace instead of ` X.PagedList.Mvc.Core ` .
7
+ ## What is this?
8
+ The X.PagedList.Mvc.Core library is a tool designed for ASP.NET Core applications that facilitates pagination of
9
+ collections like IEnumerable and IQueryable.
12
10
13
11
## How to use
14
12
You can find all information about how to use X.PagedList libraries in [ Wiki] ( https://github.com/dncuug/X.PagedList/wiki )
15
13
16
14
## License
17
- Licensed under the [ MIT License] ( https://github.com/dncuug/X.PagedList/blob/master/LICENSE ) .
15
+ Licensed under the [ MIT License] ( https://github.com/dncuug/X.PagedList/blob/master/LICENSE ) .
16
+
17
+ ## Get a digital subscription for project news
18
+ [ Subscribe] ( https://twitter.com/intent/user?screen_name=andrew_gubskiy ) to my Twitter to keep up-to-date with project news and receive announcements.
Original file line number Diff line number Diff line change 4
4
using Microsoft . AspNetCore . Html ;
5
5
using Microsoft . AspNetCore . Mvc . Rendering ;
6
6
7
- namespace X . Web . PagedList ;
7
+ namespace X . PagedList . Mvc . Core ;
8
8
9
9
[ PublicAPI ]
10
10
public static class TagBuilderExtensions
Original file line number Diff line number Diff line change 1
1
using Microsoft . AspNetCore . Mvc . Rendering ;
2
2
3
- namespace X . Web . PagedList ;
3
+ namespace X . PagedList . Mvc . Core ;
4
4
5
5
public interface ITagBuilderFactory
6
6
{
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<Title >X.PagedList.Mvc.Core</Title >
5
- <Description >ASP.NET Core extensions for X.PagedList library </Description >
5
+ <Description >ASP.NET Core extensions for implementing paging in web applications. </Description >
6
6
7
7
<LangVersion >default</LangVersion >
8
8
<TargetFrameworks >net6.0;net8.0</TargetFrameworks >
28
28
</ItemGroup >
29
29
30
30
<ItemGroup >
31
- <ProjectReference Include =" ..\X.Web.PagedList\X.Web.PagedList.csproj" />
31
+ <PackageReference Include =" JetBrains.Annotations" Version =" 2024.2.0" PrivateAssets =" all" />
32
+ </ItemGroup >
33
+
34
+ <ItemGroup >
35
+ <ProjectReference Include =" ..\X.PagedList\X.PagedList.csproj" />
32
36
</ItemGroup >
33
37
34
38
</Project >
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
# X.Web.PagedList
2
2
3
- [ ![ NuGet Version] ( http://img.shields.io/nuget/v/X.Web.PagedList.svg?style=flat )] ( https://www.nuget.org/packages/X.Web.PagedList/ )
4
- [ ![ Twitter URL] ( https://img.shields.io/twitter/url/https/twitter.com/andrew_gubskiy.svg?style=social&label=Follow%20me! )] ( https://twitter.com/intent/user?screen_name=andrew_gubskiy )
5
-
6
-
7
- ## What is this?
8
- The X.PagedList.Mvc.Core library is a tool designed for ASP.NET Core applications that facilitates pagination of
9
- collections like IEnumerable and IQueryable.
3
+ The X.Web.PagedList was migrated to X.PagedList.Mvc.Core.
10
4
11
5
## How to use
12
6
You can find all information about how to use X.PagedList libraries in [ Wiki] ( https://github.com/dncuug/X.PagedList/wiki )
13
7
14
8
## License
15
- Licensed under the [ MIT License] ( https://github.com/dncuug/X.PagedList/blob/master/LICENSE ) .
16
-
17
- ## Get a digital subscription for project news
18
- [ Subscribe] ( https://twitter.com/intent/user?screen_name=andrew_gubskiy ) to my Twitter to keep up-to-date with project news and receive announcements.
9
+ Licensed under the [ MIT License] ( https://github.com/dncuug/X.PagedList/blob/master/LICENSE ) .
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <Title >X.Web. PagedList</Title >
4
+ <Title >X.PagedList.Mvc.Core </Title >
5
5
<Description >ASP.NET Core extensions for implementing paging in web applications.</Description >
6
6
7
7
<LangVersion >default</LangVersion >
25
25
26
26
<ItemGroup >
27
27
<FrameworkReference Include =" Microsoft.AspNetCore.App" />
28
+ </ItemGroup >
29
+
30
+ <ItemGroup >
28
31
<PackageReference Include =" JetBrains.Annotations" Version =" 2024.2.0" PrivateAssets =" all" />
29
32
</ItemGroup >
30
33
You can’t perform that action at this time.
0 commit comments