三国卡牌客户端基础资源仓库
yyl
2025-10-22 f92b7b00ca5e97b222bce8c22f6c526c1aeb9a3f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#if NETSTANDARD1_5
using System;
using System.Reflection;
namespace LitJson
{
    internal static class Netstandard15Polyfill
    {
        internal static Type GetInterface(this Type type, string name)
        {
            return type.GetTypeInfo().GetInterface(name); 
        }
 
        internal static bool IsClass(this Type type)
        {
            return type.GetTypeInfo().IsClass;
        }
 
        internal static bool IsEnum(this Type type)
        {
            return type.GetTypeInfo().IsEnum;
        }
    }
}
#endif