Open sandboxFocus

Enum MulticastInheritance

In Metalama, use the InheritableAttribute custom attribute to enable aspect inheritance. By default, Metalama implements the Strict inheritance mode. If you need multicasting, see MulticastAspect or MulticastImplementation.

Namespace: PostSharp.Extensibility
Assembly: Metalama.Migration.dll
Syntax
[Obsolete("In Metalama, use the 'InheritableAttribute' custom attribute to enable aspect inheritance. By default, Metalama implements the 'MulticastInheritance.Strict' inheritance mode. If you need multicasting, see 'MulticastAspect' or 'MulticastImplementation'.", false)]
public enum MulticastInheritance

Fields

Name Description
Multicast

Multicast inheritance is not supported in Metalama, but it can be emulated by having the aspect implement IAspect<T> for INamedType and add the aspect to members.

None

This is still the default option.

Strict

In Metalama, use the InheritableAttribute custom attribute.