public bool HasIndexedFields(ObjectClass cls) { if (cls.ImplementsICustomFulltextFormat()) return true; foreach (var prop in cls.GetAllProperties()) { if (prop is StringProperty /* && further restictions */) return true; if (prop is EnumerationProperty) return true; } return false; }