Свойство | Тип | Описание | |
---|---|---|---|
caseInsensitive | bool | ||
expected | string |
Метод | Описание | |
---|---|---|
Matches ( object actual ) : bool |
Test whether the constraint is satisfied by a given value
|
Метод | Описание | |
---|---|---|
Matches ( string actual ) : bool |
Test whether the constraint is satisfied by a given string
|
|
StringConstraint ( string expected ) |
Constructs a StringConstraint given an expected value
|
public Matches ( object actual ) : bool | ||
actual | object | The value to be tested |
Результат | bool |
protected abstract Matches ( string actual ) : bool | ||
actual | string | The string to be tested |
Результат | bool |
protected StringConstraint ( string expected ) | ||
expected | string | The expected value |