When applied to a template method parameter, indicates that the introduced parameter should have the this modifier, making the introduced method an extension method.
Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
[AttributeUsage(AttributeTargets.Parameter)]
public sealed class ThisAttribute : AttributeRemarks
Use this attribute on the first parameter of a template method when you want the introduced method to be an extension method. The parameter type determines the extended type.
The introduced method must be static.
Constructors
| Name | Description |
|---|---|
| ThisAttribute() |