MetalamaAPI documentationAspect APIMetalama.​Framework.​AspectsIConditionally­Inheritable­Aspect
Open sandboxFocus

IConditionallyInheritableAspect Interface

An interface that can be implemented by aspect that can be inheritable or non-inheritable based of a field or property of the aspect. When all the instances of the aspect class are unconditionally inheritable, the class must be annotated with the InheritableAttribute instead.

Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
public interface IConditionallyInheritableAspect : IAspect, ICompileTimeSerializable, ITemplateProvider

Methods

Name Description
IsInheritable(IDeclaration, IAspectInstance)