Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Aspects / Template­Attribute

Class TemplateAttribute

The base class for all custom attributes that mark a declaration as a template.

Inheritance
TemplateAttribute
Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
public class TemplateAttribute : Attribute, ITemplateAttribute, IAdviceAttribute

Constructors

Name Description
TemplateAttribute()

Properties

Name Description
Accessibility
IsEmpty

Gets or sets a value indicating whether the template is an empty implementation, which means that the framework will consider the template to be undefined unless it is overridden in a derived class. It is similar to an abstract template implementation, but aspect deriving from the abstract class is not obliged to provide an implementation for the empty but non-abstract template.

IsRequired
IsSealed
IsVirtual
Name

Explicit Interface Implementations

Name Description
ITemplateAttribute.Properties