Share via


TermMatch Class

Definition

Describe a possible match in the user input.

public class TermMatch
type TermMatch = class
Public Class TermMatch
Inheritance
TermMatch

Constructors

TermMatch(Int32, Int32, Double, Object)

Construct a match.

Fields

Confidence

Confidence of match, 0-1.0.

Length

Length of match in input string.

Start

Start of match in input string.

Value

Underlying C# value.

Properties

End

End of match in input string.

Methods

Covers(TermMatch)

Check to see if this completely covers match.

Equals(Object)
GetHashCode()
Overlaps(TermMatch)

Check to see if this overlaps with match in input.

Same(TermMatch)

Check to see if this covers the same span as match.

ToString()

Operators

Equality(TermMatch, TermMatch)
Inequality(TermMatch, TermMatch)

Applies to