Aspect that, when applied to an interface, reports a warning whenever a type attempts to implement this interface, unless the type is inside the same project as the target interface, or the project has access to internal members of the project defining the target interface.
Implements
Namespace: Metalama.Extensions.Architecture.Aspects
Assembly: Metalama.Extensions.Architecture.dll
Syntax
public class InternalOnlyImplementAttribute : TypeAspect, IAspect<INamedType>, IAspect, ICompileTimeSerializable, ITemplateProvider, IEligible<INamedType>Constructors
| Name | Description |
|---|---|
| InternalOnlyImplementAttribute() |
Methods
| Name | Description |
|---|---|
| BuildAspect(IAspectBuilder<INamedType>) | Defines the aspect implementation by adding advice, child aspects, and validators to the target declaration. |
| BuildEligibility(IEligibilityBuilder<INamedType>) | Configures the eligibility of the aspect or attribute by defining rules that determine which declarations the aspect can be applied to. |