Metalama//API Documentation/Aspect API/Metalama.​Framework.​Code/IAttribute
Open sandboxFocus

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