Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Aspects / IAspect­Class / Is­Inheritable

Property IsInheritable

IsInheritable

Gets a value indicating whether instances of this aspect class are inherited by derived declarations. This property returns null when the aspect class implements the IConditionallyInheritableAspect, because each aspect instance can decide whether it is inheritable or not. This property returns true when the aspect class is annotated with the InheritableAttribute custom attribute.

Declaration
Nullable<bool> IsInheritable { get; }
Property Value
Type Description
Nullable<Boolean>