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

Class Aspect

A base class from aspects that can be applied as custom attributes. Aspects must implement a specific generic instance of the IAspect<T> interface, or derive from TypeAspect, MethodAspect, ConstructorAspect, FieldOrPropertyAspect, EventAspect or CompilationAspect.

Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
public abstract class Aspect : Attribute, IAspect, ICompileTimeSerializable
Remarks

This class is a redundant helper class. The aspect framework only respects the IAspect<T> interface.

Constructors

Name Description
Aspect()

Methods

Name Description
ToString()