MulticastInheritance Class
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
public sealed class MulticastInheritance : Enum
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. |
value__ |