Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code / IAttribute

Interface IAttribute

Represent a custom attributes.

Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
public interface IAttribute : IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable, IAttributeData, IAspectPredecessor

Properties

Name Description
ContainingDeclaration

Gets the declaration that owns the custom attribute.

Extension Methods

AttributeExtensions.ToAttributeConstruction(IAttribute)
AttributeExtensions.TryGetNamedArgument(IAttribute, String, out TypedConstant)

See Also