Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
MatchResult(Boolean, SearchPrecisionScore) Constructor
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Initializes a new instance of the MatchResult class with its Success property set to success and SearchPrecision set to searchPrecision.
public MatchResult(bool success, SearchPrecisionScore searchPrecision)
{
Success = success;
SearchPrecision = searchPrecision;
}
Parameters
success Boolean
Indicates whether the match was successful.
searchPrecision SearchPrecisionScore
The search precision score for the match. This score is used to determine how closely the match aligns with the search criteria.
MatchResult(Boolean, SearchPrecisionScore, List<Integer>, Integer) Constructor
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Initializes a new instance of the MatchResult class with its Success property set to success, SearchPrecision set to searchPrecision, MatchData set to matchData, and RawScore set to rawScore.
public MatchResult(bool success, SearchPrecisionScore searchPrecision, List<int> matchData, int rawScore)
{
Success = success;
SearchPrecision = searchPrecision;
MatchData = matchData;
RawScore = rawScore;
}
Parameters
success Boolean
Indicates whether the match was successful.
searchPrecision SearchPrecisionScore
The search precision score for the match. This score is used to determine how closely the match aligns with the search criteria.
matchData List<Integer>
The list of match data. This data can be used to provide additional context or information about the match.
rawScore Integer
The raw score for the match. This score is used to quantify the quality of the match based on the search criteria.
Windows developer