Metalama / / API Documentation / Aspect API / Metalama.​Framework.​Aspects / Require­Aspect­Weaver­Attribute / Require­Aspect­Weaver­Attribute

Constructor RequireAspectWeaverAttribute

RequireAspectWeaverAttribute(String)

Initializes a new instance of the RequireAspectWeaverAttribute class.

Declaration
public RequireAspectWeaverAttribute(string weaverType)
Parameters
Type Name Description
String weaverType

Full name (namespace and name but not assembly name) of the type implemented the aspect. This type must implement the IAspectWeaver interface, be annotated with the [MetalamaPlugin] attribute, and the assembly must be included as an analyzer in the project.