ReflectionCache public static class ReflectionCache Provides cached reflection APIs for better performance. Documentation Code public class CustomAttributes The custom attributes. public class PropertyOrField A property or field. public static Attribute GetDataContractAttribute(Type type) Gets the data contract attribute of a given type. public static IEnumerable<PropertyOrField> GetPropertiesAndFields(Type type) Gets the properties and fields of a given type.