Méthode | Description | |
---|---|---|
BasicConstraint ( object expected, string description ) |
Initializes a new instance of the T:BasicConstraint class.
|
|
Matches ( object actual ) : bool |
Test whether the constraint is satisfied by a given value
|
|
WriteDescriptionTo ( |
Write the constraint description to a MessageWriter
|
public BasicConstraint ( object expected, string description ) | ||
expected | object | The expected. |
description | string | The description. |
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 |