Metalama 1.0 / / Metalama Documentation / Extensions API / Metalama.​Extensions.​Architecture.​Aspects / Internal­Only­Implement­Attribute

Class InternalOnlyImplementAttribute

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.

Inheritance
InternalOnlyImplementAttribute
Namespace: Metalama.Extensions.Architecture.Aspects
Assembly: Metalama.Extensions.Architecture.dll
Syntax
public class InternalOnlyImplementAttribute : TypeAspect, IAspect<INamedType>, IAspect, ICompileTimeSerializable, IEligible<INamedType>

Constructors

Name Description
InternalOnlyImplementAttribute()

Methods

Name Description
BuildAspect(IAspectBuilder<INamedType>)
BuildEligibility(IEligibilityBuilder<INamedType>)