Method | Description | |
---|---|---|
Matches ( object actual ) : bool |
Test whether the property exists for a given object
|
|
PropertyExistsConstraint ( string name ) : System |
Initializes a new instance of the T:PropertyExistConstraint class.
|
|
WriteActualValueTo ( |
Write the actual value for a failing constraint test to a MessageWriter.
|
|
WriteDescriptionTo ( |
Write the constraint description to a MessageWriter
|
Method | Description | |
---|---|---|
GetStringRepresentation ( ) : string |
Returns the string representation of the constraint.
|
protected GetStringRepresentation ( ) : string | ||
return | string |
public Matches ( object actual ) : bool | ||
actual | object | The object to be tested |
return | bool |
public PropertyExistsConstraint ( string name ) : System | ||
name | string | The name of the property. |
return | System |
public WriteActualValueTo ( |
||
writer | The writer on which the actual value is displayed | |
return | void |
public WriteDescriptionTo ( |
||
writer | The writer on which the description is displayed | |
return | void |