public static IEnumerable <IMetadataField> GetSpecifications(this IMetadataTypeInfo type) { return(type.GetPrivateFieldsOfType <It>()); }