diff options
author | crupest <crupest@outlook.com> | 2020-03-11 23:21:37 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-03-11 23:21:37 +0800 |
commit | 70af7808deca84ad2d118c5002989a98e1623450 (patch) | |
tree | 52647ce84d276ffc99447cea2f78bea050ece8a5 /Timeline/Helpers/StringLocalizerFactoryExtensions.cs | |
parent | 61a4a86c3c428cc7ca985f003fb23641d1bde2ee (diff) | |
download | timeline-70af7808deca84ad2d118c5002989a98e1623450.tar.gz timeline-70af7808deca84ad2d118c5002989a98e1623450.tar.bz2 timeline-70af7808deca84ad2d118c5002989a98e1623450.zip |
Add links test for timeline.
Diffstat (limited to 'Timeline/Helpers/StringLocalizerFactoryExtensions.cs')
-rw-r--r-- | Timeline/Helpers/StringLocalizerFactoryExtensions.cs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Timeline/Helpers/StringLocalizerFactoryExtensions.cs b/Timeline/Helpers/StringLocalizerFactoryExtensions.cs deleted file mode 100644 index c2252b2c..00000000 --- a/Timeline/Helpers/StringLocalizerFactoryExtensions.cs +++ /dev/null @@ -1,19 +0,0 @@ -
-using Microsoft.Extensions.Localization;
-using System.Reflection;
-
-namespace Timeline.Helpers
-{
- internal static class StringLocalizerFactoryExtensions
- {
- internal static IStringLocalizer Create(this IStringLocalizerFactory factory, string basename)
- {
- return factory.Create(basename, new AssemblyName(typeof(StringLocalizerFactoryExtensions).Assembly.FullName!).Name);
- }
-
- internal static StringLocalizer<T> Create<T>(this IStringLocalizerFactory factory)
- {
- return new StringLocalizer<T>(factory);
- }
- }
-}
\ No newline at end of file |