Class HelpSearchHit
- Namespace
- Kuestenlogik.Bowire.Help
- Assembly
- Kuestenlogik.Bowire.dll
One result from Search(string, int). Carries an excerpt so the result list can show context without a follow-up topic-fetch per hit. The score is opaque to the workbench — only the order matters — but provider implementations may stabilise on 0..1 or 0..100 ranges as a future convention.
public sealed record HelpSearchHit : IEquatable<HelpSearchHit>
- Inheritance
-
HelpSearchHit
- Implements
- Inherited Members
Constructors
HelpSearchHit(string, string, string, double)
One result from Search(string, int). Carries an excerpt so the result list can show context without a follow-up topic-fetch per hit. The score is opaque to the workbench — only the order matters — but provider implementations may stabilise on 0..1 or 0..100 ranges as a future convention.
public HelpSearchHit(string Id, string Title, string Excerpt, double Score)
Parameters
Properties
Excerpt
public string Excerpt { get; init; }
Property Value
Id
public string Id { get; init; }
Property Value
Score
public double Score { get; init; }
Property Value
Title
public string Title { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out string, out double)
public void Deconstruct(out string Id, out string Title, out string Excerpt, out double Score)
Parameters
Equals(HelpSearchHit?)
public bool Equals(HelpSearchHit? other)
Parameters
otherHelpSearchHit
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(HelpSearchHit?, HelpSearchHit?)
public static bool operator ==(HelpSearchHit? left, HelpSearchHit? right)
Parameters
leftHelpSearchHitrightHelpSearchHit
Returns
operator !=(HelpSearchHit?, HelpSearchHit?)
public static bool operator !=(HelpSearchHit? left, HelpSearchHit? right)
Parameters
leftHelpSearchHitrightHelpSearchHit