示例#1
0
文件: Json.cs 项目: rflechner/swan
 /// <summary>
 /// Retrieves FieldInfo[] (public) for the given type
 /// </summary>
 /// <param name="type">The type.</param>
 /// <returns>Value of a field supported by a given object</returns>
 private static FieldInfo[] RetrieveFields(Type type)
 => FieldTypeCache.Retrieve(type, FieldTypeCache.GetAllFieldsFunc(type));