MetalamaAPI documentationAspect APIMetalama.​Framework.​AspectsmetaThis
Open sandboxFocus

meta.This Property


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. It corresponds to InvokerOptions.Final. To access the prior layer (or the base type, if there is no prior layer), use Base. To access static members, use ThisType.

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