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>) | Initializes the aspect. The implementation must add advice, child aspects and validators
using the |
BuildEligibility(IEligibilityBuilder<INamedType>) | Configures the eligibility of the aspect or attribute. Implementations are not allowed to reference non-static members. Implementations must call the implementation of the base class if it exists. |