Kinds of targets to which multicast aspects (IMulticastAttribute) can be applied.
Namespace: Metalama.Extensions.Multicast
Assembly: Metalama.Extensions.Multicast.dll
Syntax
[Flags]
[RunTimeOrCompileTime]
public enum MulticastTargetsRemarks
Use this enumeration to specify which declaration kinds the multicast aspect should target. This can be set both in the MulticastImplementation constructor (to define which targets the aspect supports) and in the AttributeTargetElements property (to filter targets at the usage site).
Fields
| Name | Description |
|---|---|
| All | All element kinds. |
| AnyMember | Any member (Field, Method, InstanceConstructor, StaticConstructor, Property, Event). |
| AnyType | |
| Assembly | Assembly. |
| Class | Class. |
| Default | Specifies that the set of target elements is inherited from the parent custom attribute. |
| Delegate | Delegate. |
| Enum | Enumeration. |
| Event | Event (but not methods inside the event). |
| Field | Field. |
| InstanceConstructor | Instance constructor. |
| Interface | Interface. |
| Method | Method (but not constructor). |
| Parameter | Method or property parameter. |
| Property | Property (but not methods inside the property). |
| ReturnValue | Method or property return value. |
| StaticConstructor | Static constructor. |
| Struct | Structure. |