protected bool IsStringType(Type type) { return(StringTypes.Contains(type.IsEnum ? typeof(Enum) : type)); }