MetalamaAPI documentationAspect APIMetalama.​Framework.​AspectsRequire­Aspect­Weaver­AttributeRequire­Aspect­Weaver­Attribute
Open sandboxFocus

RequireAspectWeaverAttribute Constructor

RequireAspectWeaverAttribute(String)

Initializes a new instance of the RequireAspectWeaverAttribute class.

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

Full name (namespace and name but not assembly name) of the type implementing the aspect. This type must implement the IAspectWeaver interface and be annotated with the [MetalamaPlugin] attribute.

RequireAspectWeaverAttribute(Type)

Initializes a new instance of the RequireAspectWeaverAttribute class.

Declaration
public RequireAspectWeaverAttribute(Type weaverType)
Parameters
Type Name Description
System.Type weaverType

The type implementing the aspect. This type must implement the IAspectWeaver interface and be annotated with the [MetalamaPlugin] attribute.