MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​ExtensibilityMulticast­Inheritance
Open sandboxFocus

MulticastInheritance Class

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

Inheritance
MulticastInheritance
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 custom attribute.

value__