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
512 B

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

Powered by TurnKey Linux.