diff options
author | crupest <crupest@outlook.com> | 2021-01-07 22:19:05 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-01-07 22:19:05 +0800 |
commit | 777efa6e0405f4e871de4da21b939e30ed07f754 (patch) | |
tree | 899de22e70967572faf2e29fa08bdee9cda29790 /BackEnd/Timeline/Models/Http | |
parent | 34b2304997bfac1e186dad660ec62d8d87fec75f (diff) | |
download | timeline-777efa6e0405f4e871de4da21b939e30ed07f754.tar.gz timeline-777efa6e0405f4e871de4da21b939e30ed07f754.tar.bz2 timeline-777efa6e0405f4e871de4da21b939e30ed07f754.zip |
chore: Remove unused codes.
Diffstat (limited to 'BackEnd/Timeline/Models/Http')
-rw-r--r-- | BackEnd/Timeline/Models/Http/ActionContextAccessorExtensions.cs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/BackEnd/Timeline/Models/Http/ActionContextAccessorExtensions.cs b/BackEnd/Timeline/Models/Http/ActionContextAccessorExtensions.cs deleted file mode 100644 index bcc55c5a..00000000 --- a/BackEnd/Timeline/Models/Http/ActionContextAccessorExtensions.cs +++ /dev/null @@ -1,14 +0,0 @@ -using Microsoft.AspNetCore.Mvc;
-using Microsoft.AspNetCore.Mvc.Infrastructure;
-using System;
-
-namespace Timeline.Models.Http
-{
- public static class ActionContextAccessorExtensions
- {
- public static ActionContext AssertActionContextForUrlFill(this IActionContextAccessor accessor)
- {
- return accessor.ActionContext ?? throw new InvalidOperationException(Resources.Models.Http.Exception.ActionContextNull);
- }
- }
-}
|