MetalamaAPI documentationAspect APIMetalama.​Framework.​Advising
Open sandboxFocus

Metalama.Framework.Advising Namespace

Classes

AdviceKind

Enumerates the kinds of advice.

AdviceOutcome

Status codes of the result of an advice. This enum is exposed on the Outcome property of the IAdviceResult interface, which is returned by all methods of the IAdviceFactory interface.

GetterTemplateSelector

Specifies the templates that must be used for the get accessor by the IAdviceFactory.OverrideAccessors advice.

InitializerKind

InterfaceImplementationOutcome

Actions taken by the advice when implementing an interface.

InterfaceMemberImplementationOutcome

Actions taken by the advice when implementing an interface member.

MethodTemplateSelector

Specifies the templates that must be used by the IAdviceFactory.Override(IMethod) advice.

PullAction

Represents a way to pull a field or property.

TemplateAttributeProperties

Interfaces

IAddContractAdviceResult<T>

Represents the result of the AddContract(IParameter, String, ContractDirection, Object, Object) method.

IAddInitializerAdviceResult

Represents the result of the AddInitializer(INamedType, String, InitializerKind, Object, Object) method.

IAdviceAttribute

IAdviceFactory

Exposes all factory methods to create advice. Exposed on the Advice property of IAspectBuilder<TAspectTarget> or IAspectBuilder.

IAdviceResult

A base interface that represents the result of any advice method of the IAdviceFactory interface.

IImplementInterfaceAdviceResult

Represents the result of the ImplementInterface(INamedType, INamedType, OverrideStrategy, Object) method.

IInterfaceImplementationResult

Describes an interface type implemented by ImplementInterface(INamedType, INamedType, OverrideStrategy, Object).

IInterfaceMemberImplementationResult

Describes an interface member implemented by ImplementInterface(INamedType, INamedType, OverrideStrategy, Object).

IIntroductionAdviceResult<T>

Represents the result of the Introduce* methods of the IAdviceFactory interface.

IOverrideAdviceResult<T>

Represents the result of the Override methods of the IAdviceFactory interface.

IRemoveAttributesAdviceResult

Represents the result of the RemoveAttributes(IDeclaration, INamedType) method.

ITemplateAttribute