mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-12 11:55:24 +08:00
fix(module: statistic): countdown format incorrectly when publish with trimming (#2943)
This commit is contained in:
parent
59db656a16
commit
d279796e69
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Globalization;
|
||||
using System.Linq.Expressions;
|
||||
using System.Reflection;
|
||||
@ -7,7 +8,12 @@ using AntDesign.Core.Reflection;
|
||||
|
||||
namespace AntDesign.Core.Helpers
|
||||
{
|
||||
#if NETSTANDARD2_1
|
||||
|
||||
internal static class Formatter<T>
|
||||
#else
|
||||
internal static class Formatter<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] T>
|
||||
#endif
|
||||
{
|
||||
private static readonly Lazy<Func<T, string, string>> _formatFunc = new Lazy<Func<T, string, string>>(GetFormatLambda, true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user