Method | Description | |
---|---|---|
ExactTypeConstraint ( |
Construct an ExactTypeConstraint for a given Type
|
|
Matches ( object actual ) : bool |
Test that an object is of the exact type specified
|
|
WriteDescriptionTo ( |
Write the description of this constraint to a MessageWriter
|
public ExactTypeConstraint ( |
||
type | The expected Type. | |
return | System |
public Matches ( object actual ) : bool | ||
actual | object | The actual value. |
return | bool |
public WriteDescriptionTo ( |
||
writer | The MessageWriter to use | |
return | void |