Skip to content

Commit

Permalink
Move PagedListDisplayMode to X.PagedList.Mvc.Common
Browse files Browse the repository at this point in the history
  • Loading branch information
a-gubskiy committed Nov 8, 2017
1 parent ef74a16 commit 1a9f811
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace X.PagedList.Mvc.Core
namespace X.PagedList.Mvc.Common
{
/// <summary>
/// A tri-state enum that controls the visibility of portions of the PagedList paging control.
Expand Down
1 change: 1 addition & 0 deletions src/X.PagedList.Mvc.Core/HtmlHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using X.PagedList.Mvc.Common;

namespace X.PagedList.Mvc.Core
{
Expand Down
1 change: 1 addition & 0 deletions src/X.PagedList.Mvc.Core/PagedListRenderOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using X.PagedList.Mvc.Common;
using X.PagedList.Mvc.Core.Fake;

namespace X.PagedList.Mvc.Core
Expand Down
1 change: 1 addition & 0 deletions src/X.PagedList.Mvc.Core/X.PagedList.Mvc.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<PackageReference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" Version="2.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\X.PagedList.Mvc.Common\X.PagedList.Mvc.Common.csproj" />
<ProjectReference Include="..\X.PagedList\X.PagedList.csproj" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions src/X.PagedList.Mvc/HtmlHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Text;
using System.Web;
using System.Web.Mvc;
using X.PagedList.Mvc.Common;

namespace X.PagedList.Mvc
{
Expand Down
23 changes: 0 additions & 23 deletions src/X.PagedList.Mvc/PagedListDisplayMode.cs

This file was deleted.

1 change: 1 addition & 0 deletions src/X.PagedList.Mvc/PagedListRenderOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.Linq;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using X.PagedList.Mvc.Common;

namespace X.PagedList.Mvc
{
Expand Down
1 change: 1 addition & 0 deletions src/X.PagedList.Mvc/X.PagedList.Mvc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\X.PagedList.Mvc.Common\X.PagedList.Mvc.Common.csproj" />
<ProjectReference Include="..\X.PagedList\X.PagedList.csproj" />
</ItemGroup>

Expand Down

0 comments on commit 1a9f811

Please sign in to comment.