Method | Description | |
---|---|---|
InstanceOfTypeConstraint ( |
Construct an InstanceOfTypeConstraint for the type provided
|
|
Matches ( object actual ) : bool |
Test whether an object is of the specified type or a derived type
|
|
WriteDescriptionTo ( |
Write a description of this constraint to a MessageWriter
|
public InstanceOfTypeConstraint ( |
||
type | The expected Type | |
return | System |
public Matches ( object actual ) : bool | ||
actual | object | The object to be tested |
return | bool |
public WriteDescriptionTo ( |
||
writer | The MessageWriter to use | |
return | void |