Type(Type)
Selects the type, given as a reflection Type, that declares the intercepted methods.
Declaration
ITypeSelection Type(Type type)Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | The type. A generic type definition, for instance |
Returns
| Type | Description |
|---|---|
| ITypeSelection |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|
Type(INamedType)
Selects the type of the code model that declares the intercepted methods.
Declaration
ITypeSelection Type(INamedType type)Parameters
| Type | Name | Description |
|---|---|---|
| INamedType | type | The type. Its definition is selected, so the methods of all its constructions are selected. |
Returns
| Type | Description |
|---|---|
| ITypeSelection |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|