예제 #1
0
        public static bool IsLiteralType(this Type type)
        {
            if (type.IsNullable())
            {
                type = Nullable.GetUnderlyingType(type);
            }

            return(Literals.Contains(type));
        }