-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from neekgreen/updates
updates
- Loading branch information
Showing
8 changed files
with
55 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 2 additions & 5 deletions
7
...ctions.AspNetCore/ExpandedActionFilter.cs → ...AspNetCore/ExpandedHeadersActionFilter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace PaginableCollections.AspNetCore | ||
{ | ||
public enum HeaderFormat | ||
{ | ||
Condensed = 0, | ||
Expanded = 1 | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
src/PaginableCollections.AspNetCore/HeaderFormatOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
namespace PaginableCollections.AspNetCore | ||
{ | ||
public class HeaderFormatOptions | ||
{ | ||
public HeaderFormatOptions() { } | ||
|
||
|
||
public HeaderFormat HeaderFormat { get; set; } = HeaderFormat.Condensed; | ||
|
||
|
||
public HeaderFormatOptions UseCondensed() | ||
{ | ||
HeaderFormat = HeaderFormat.Condensed; | ||
return this; | ||
} | ||
|
||
public HeaderFormatOptions UseExpanded() | ||
{ | ||
HeaderFormat = HeaderFormat.Expanded; | ||
return this; | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters