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 | 6d30c089c02591ce2f57cf22fe0c41c17c62fbc3 (patch) | |
tree | d6555319f0f56cf46d510707bbc7c2fc47346fbf /BackEnd/Timeline/Models/Http | |
parent | 05132389cd2db33ab3bdeaa2fbfae25fc8db8882 (diff) | |
download | timeline-6d30c089c02591ce2f57cf22fe0c41c17c62fbc3.tar.gz timeline-6d30c089c02591ce2f57cf22fe0c41c17c62fbc3.tar.bz2 timeline-6d30c089c02591ce2f57cf22fe0c41c17c62fbc3.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);
- }
- }
-}
|