Inheritance
To mark an aspect as inherited, use InheritableAttribute or implement IConditionallyInheritableAspect. Multicast inheritance is not supported in Metalama, but you can build a similar feature by making the aspect implement the IAspect<T> for INamedType and implement multicasting in the BuildAspect(IAspectBuilder<T>) method.
Declaration
[Obsolete("To mark an aspect as inherited, use 'InheritableAttribute' or implement 'IConditionallyInheritableAspect'. Multicast inheritance is not supported in Metalama, but you can build a similar feature by making the aspect implement the 'IAspect<T>' for 'INamedType' and implement multicasting in the 'IAspect<T>.BuildAspect(IAspectBuilder<T>)' method.", false)]
public MulticastInheritance Inheritance { get; set; }
Property Value
Type | Description |
---|---|
MulticastInheritance |