Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Aspects / Interface­Member­Attribute

Class InterfaceMemberAttribute

Custom attribute that applied to a member of an aspect class and means that this aspect member is a template implementing a member of an interface implemented by ImplementInterface(INamedType, INamedType, OverrideStrategy, Object).

Inheritance
InterfaceMemberAttribute
Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
public sealed class InterfaceMemberAttribute : TemplateAttribute, ITemplateAttribute, IAdviceAttribute

Constructors

Name Description
InterfaceMemberAttribute()

Properties

Name Description
IsExplicit

Gets or sets a value indicating whether the interface member should be introduced explicitly.

WhenExists

Gets or sets a value indication the override strategy when interface member conflicts with an existing class member.