This(INamedType)
Gets a this expression for the given type.
Declaration
public static IExpression This(INamedType type)Parameters
| Type | Name | Description |
|---|---|---|
| INamedType | type | A type. |
Returns
| Type | Description |
|---|---|
| IExpression |
Remarks
Unlike meta.This and the parameterless This() method, the current method works in any context,
even outside a template.
See Also
This()
Gets a this expression for the current type when inside a template.
Declaration
public static IExpression This()Returns
| Type | Description |
|---|---|
| IExpression |