Metalama 1.0 / / Metalama Documentation / Extensions API / Metalama.​Extensions.​Multicast / Multicast­Targets

Class MulticastTargets

Kinds of targets to which multicast aspects (IMulticastAttribute) can be applied.

Inheritance
MulticastTargets
Namespace: Metalama.Extensions.Multicast
Assembly: Metalama.Extensions.Multicast.dll
Syntax
[RunTimeOrCompileTime]
public sealed class MulticastTargets : Enum

Fields

Name Description
All

All element kinds.

AnyMember

Any member (Field, Method, InstanceConstructor, StaticConstructor, Property, Event).

AnyType

Any type (Class, Struct, Enum, Delegate or Interface).

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.

value__