Files
Umbraco-CMS/src/Umbraco.Core/Models/PublishedContent/PublishedSearchResult.cs
2021-09-07 12:10:58 +02:00

18 lines
429 B
C#

using System.Diagnostics;
namespace Umbraco.Cms.Core.Models.PublishedContent
{
[DebuggerDisplay("{Content?.Name} ({Score})")]
public class PublishedSearchResult
{
public PublishedSearchResult(IPublishedContent content, float score)
{
Content = content;
Score = score;
}
public IPublishedContent Content { get; }
public float Score { get; }
}
}