Méthode | Description | |
---|---|---|
Matches ( object actual ) : bool |
Test whether the constraint is satisfied by a given value
|
|
WriteDescriptionTo ( |
Write the constraint description to a MessageWriter
|
Méthode | Description | |
---|---|---|
BasicConstraint ( object expected, string description ) : System |
Initializes a new instance of the T:BasicConstraint class.
|
protected BasicConstraint ( object expected, string description ) : System | ||
expected | object | The expected. |
description | string | The description. |
Résultat | System |
public Matches ( object actual ) : bool | ||
actual | object | The value to be tested |
Résultat | bool |
public WriteDescriptionTo ( |
||
writer | The writer on which the description is displayed | |
Résultat | void |