using DataLayer; using System.Collections.ObjectModel; namespace LibationSearchEngine; public enum FieldType { Bool, String, Number, ID, Raw } public interface IIndexRule { /// This rule's value type. FieldType FieldType { get; } /// All aliases of this search index rule ReadOnlyCollection FieldNames { get; } string GetValue(LibraryBook libraryBook); }