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

Constructor RequireAspectWeaverAttribute


Initializes a new instance of the RequireAspectWeaverAttribute class.

public RequireAspectWeaverAttribute(string weaverType)
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.