C# Class Automation.UI.Tree.Matchers.StartsWithMatcher

A matcher that compares two strings to see if the actual value starts with the expected value.
Inheritance: StringMatcher
Show file Open project: vijayakumarsuraj/UIAutomation

Public Methods

Method Description
IsMatch ( string actual, string expected ) : bool

Checks to see if the actual value starts with the specified expected value.

ToString ( ) : string

Returns the string representation of this match.

Method Details

IsMatch() public method

Checks to see if the actual value starts with the specified expected value.
public IsMatch ( string actual, string expected ) : bool
actual string The actual value.
expected string The expected start value.
return bool

ToString() public method

Returns the string representation of this match.
public ToString ( ) : string
return string