using System; namespace ZeroLevel.Sleopok.Engine.Models { public enum SleoFieldType { /// /// One value /// Single = 0, /// /// Array of values /// Array = 1, } internal sealed class SleoField { internal SleoField(SleoFieldType fieldType, string name, float boost, bool exactMatch, Func getter) => (FieldType, Name, Boost, ExactMatch, Getter) = (fieldType, name, boost, exactMatch, getter); public SleoFieldType FieldType; public string Name; public float Boost; public bool ExactMatch; public Func Getter; } }