Metalama (preview)API documentationAspect APIMetalama.​Framework.​AdvisingIImplement­Interface­Advice­Result
Open sandboxFocus

IImplementInterfaceAdviceResult Interface

Represents the result of the ImplementInterface(INamedType, INamedType, OverrideStrategy, object?) method. The result can be used to introduce interface members using the extension methods in AdviserExtensions.

Namespace: Metalama.Framework.Advising
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public interface IImplementInterfaceAdviceResult : IAdviceResult

Properties

Name Description
ExplicitMembers

Gets an IAdviser<T> allowing to introduce explicit members to the primary implemented interface. For introducing memebers to its base interfaces, use the Interfaces property.

InterfaceMembers

Gets a list of interface members specified using InterfaceMemberAttribute that were considered when implementing the given interface.

Interfaces

Gets a list of interfaces that were considered when implementing the given interface.