diff options
author | 杨宇千 <crupest@outlook.com> | 2019-05-06 14:22:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-06 14:22:10 +0800 |
commit | ea84a067eee6dcd10dd0bc89967ef608677ef37e (patch) | |
tree | 37c2b6f9dcb3d6f57867ebc7538523d1a338183d /Timeline/EnvironmentConstants.cs | |
parent | ae848e311b46a25ec1ed571432d55e800ac7595b (diff) | |
parent | 070a4a8399201150a633c80608a13cc44781a3c4 (diff) | |
download | timeline-ea84a067eee6dcd10dd0bc89967ef608677ef37e.tar.gz timeline-ea84a067eee6dcd10dd0bc89967ef608677ef37e.tar.bz2 timeline-ea84a067eee6dcd10dd0bc89967ef608677ef37e.zip |
Merge pull request #22 from crupest/user-admin
Develop user management feature.
Diffstat (limited to 'Timeline/EnvironmentConstants.cs')
-rw-r--r-- | Timeline/EnvironmentConstants.cs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Timeline/EnvironmentConstants.cs b/Timeline/EnvironmentConstants.cs deleted file mode 100644 index 5ffc3623..00000000 --- a/Timeline/EnvironmentConstants.cs +++ /dev/null @@ -1,14 +0,0 @@ -using Microsoft.AspNetCore.Hosting; - -namespace Timeline -{ - public static class EnvironmentConstants - { - public const string TestEnvironmentName = "Test"; - - public static bool IsTest(this IHostingEnvironment environment) - { - return environment.EnvironmentName == TestEnvironmentName; - } - } -} |