Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Aspects / meta / This

Property This

This

Gets a dynamic object that represents an instance of the target type. It can be used as a value (e.g. as a method argument) or can be used to get access to instance members of the instance (e.g. meta.This.MyMethod()). The This property exposes the state of the target type as it is after the application of all aspects. If the member is virtual, a virtual call is performed, therefore the implementation on the child type (possibly with all applied aspects) is performed. To access the prior layer (or the base type, if there is no prior layer), use Base. To access static members, use ThisType.

Declaration
public static dynamic This { get; }
Property Value
Type Description
Object
See Also