메소드 | 설명 | |
---|---|---|
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 | |
리턴 | System |
public Matches ( object actual ) : bool | ||
actual | object | The object to be tested |
리턴 | bool |
public WriteDescriptionTo ( |
||
writer | The MessageWriter to use | |
리턴 | void |