MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeIAnnotation<T>
Open sandboxFocus

IAnnotation<T> Interface

An annotation is an arbitrary but serializable object that can then be retrieved using the GetAnnotations<TAnnotation>() method of the Enhancements<T>(T) object. Annotations are a way of communication between aspects or classes of aspects.

Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
public interface IAnnotation<in T> : IAnnotation, ICompileTimeSerializable where T : class, IDeclaration
Type Parameters
Name Description

The type of declarations to which the annotation can be added.