Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code / Attribute­Extensions

Class AttributeExtensions

Extension methods for the IAttribute interface.

Inheritance
AttributeExtensions
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
public static class AttributeExtensions : Object

Methods

Name Description
ToAttributeConstruction(IAttribute)

Converts an IAttribute to an AttributeConstruction object.

TryGetNamedArgument(IAttribute, String, out TypedConstant)

Tries to get a named argument (i.e. the value assigned to a field or property).