C# Класс UnityEngine.NUnit.Framework.Constraints.RegexConstraint

RegexConstraint can test whether a string matches the pattern provided.
Наследование: StringConstraint
Показать файл Открыть проект

Открытые методы

Метод Описание
RegexConstraint ( string pattern ) : System.Text.RegularExpressions

Initializes a new instance of the T:RegexConstraint class.

WriteDescriptionTo ( MessageWriter writer ) : void

Write the constraint description to a MessageWriter

Защищенные методы

Метод Описание
Matches ( string actual ) : bool

Test whether the constraint is satisfied by a given value

Описание методов

Matches() защищенный Метод

Test whether the constraint is satisfied by a given value
protected Matches ( string actual ) : bool
actual string The value to be tested
Результат bool

RegexConstraint() публичный Метод

Initializes a new instance of the T:RegexConstraint class.
public RegexConstraint ( string pattern ) : System.Text.RegularExpressions
pattern string The pattern.
Результат System.Text.RegularExpressions

WriteDescriptionTo() публичный Метод

Write the constraint description to a MessageWriter
public WriteDescriptionTo ( MessageWriter writer ) : void
writer MessageWriter The writer on which the description is displayed
Результат void