MetalamaAPI documentationExtensions APIMetalama.​Extensions.​Architecture.​AspectsInternal­Only­Implement­Attribute
Open sandboxFocus

InternalOnlyImplementAttribute Class

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
System.Object
InternalOnlyImplementAttribute
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>)
BuildEligibility(IEligibilityBuilder<INamedType>)