Okay, this one is problematic. There is no declarative (attribute-based) multicasting in Metalama. Instead, fabrics should be used. However, we have ported the main features of MulticastAttribute to Metalama. See MulticastAspect or MulticastImplementation.
Namespace: PostSharp.Extensibility
Assembly: Metalama.Migration.dll
Syntax
[Obsolete("Okay, this one is problematic. There is no declarative (attribute-based) multicasting in Metalama. Instead, fabrics should be used. However, we have ported the main features of 'MulticastAttribute' to Metalama. See 'MulticastAspect' or 'MulticastImplementation'.", false)]
public abstract class MulticastAttribute : AttributeConstructors
| Name | Description |
|---|---|
| MulticastAttribute() |
Properties
| Name | Description |
|---|---|
| AttributeExclude | |
| AttributeId | |
| AttributeInheritance | |
| AttributePriority | |
| AttributeReplace | Metalama port of MulticastAttribute does not support adding several instances of an aspect on the same declaration,
so this property is always considered |
| AttributeTargetAssemblies | |
| AttributeTargetElements | |
| AttributeTargetExternalMemberAttributes | |
| AttributeTargetExternalTypeAttributes | |
| AttributeTargetMemberAttributes | |
| AttributeTargetMembers | |
| AttributeTargetParameterAttributes | |
| AttributeTargetParameters | |
| AttributeTargetTypeAttributes | |
| AttributeTargetTypes |