Open sandboxFocus

Interface ITemplateAttribute

Defines an interface for attributes that mark and configure T# template members. Template attributes allow you to override properties such as the name, accessibility, and modifiers (virtual, sealed, abstract, etc.) of members introduced from templates. When a property is not explicitly set, its value is inherited from the template member itself.

Namespace: Metalama.Framework.Advising
Assembly: Metalama.Framework.dll
Syntax
public interface ITemplateAttribute : IAdviceAttribute

Properties

Name Description
Properties

Gets the properties that configure how the template member should be introduced, including name, accessibility, and modifiers. Returns null if no properties have been explicitly set.

Extension Methods

See Also