You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zero/ZeroLevel.Sleopok.Engine/Models/SleoIndexAttribute.cs

20 lines
566 B

using System;
namespace ZeroLevel.Sleopok.Engine.Models
{
public sealed class SleoIndexAttribute
: Attribute
{
public string Name { get; private set; }
public float Boost { get; private set; } = 1.0f;
public bool AvaliableForExactMatch { get; private set; } = false;
public SleoIndexAttribute(string name, float boost = 1.0f, bool avaliableForExactMatch = false)
{
Name = name;
Boost = boost;
AvaliableForExactMatch = avaliableForExactMatch;
}
}
}

Powered by TurnKey Linux.