MulticastTargets Class
In Metalama, the valid targets are determined by the declaration types for which the IAspect<T> interface is implemented. Additionally, you can implement the BuildEligibility(IEligibilityBuilder<T>) method. However, the main features of MulticastAttribute have been ported to Metalama. The equivalent to this attribute is MulticastTargets.
Namespace: PostSharp.Extensibility
Assembly: Metalama.Migration.dll
Syntax
public sealed class MulticastTargets : Enum
Fields
Name | Description |
---|---|
All | |
AnyMember | |
AnyType | |
Assembly | |
Class | |
Default | |
Delegate | |
Enum | |
Event | |
Field | |
InstanceConstructor | |
Interface | |
Method | |
Parameter | |
Property | |
ReturnValue | |
StaticConstructor | |
Struct | |
value__ |