Skip to content

Class WildCardValueMatcher

Namespace: OfficeOpenXml.FormulaParsing.ExcelUtilities
Assembly: EPPlus.dll

Compares values against wildcard strings

public class WildCardValueMatcher : ValueMatcher

Inheritance

object ← ValueMatcher ← WildCardValueMatcher

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
ValueMatcher.CompareObjectToString(object, string)
ValueMatcher.CompareStringToObject(string, object, bool)
ValueMatcher.CompareStringToString(string, string)
ValueMatcher.IncompatibleOperands
ValueMatcher.IsMatch(object, object, bool)

Constructors

WildCardValueMatcher()

public WildCardValueMatcher()

Methods

CompareStringToString(string, string)

Compares two strings

protected override int CompareStringToString(string searchedValue, string candidate)

Parameters

searchedValue string

The searched value, might contain wildcard characters

candidate string

The candidate to compare

Returns

int

0 if match, otherwise -1 or 1