Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Advising

Namespace Metalama.Framework.Advising

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.

PullAction

Represents a way to pull a field or property.

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.

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.

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.