Open sandboxFocus

Interface IAnnotation<T>

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
Syntax
public interface IAnnotation<in T> : IAnnotation, ICompileTimeSerializable where T : class, IDeclaration
Type Parameters
Name Description
T

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