Classes
AdviceResultExtensions
AdviserExtensions
InterfaceImplementationAdviserExtensions
Provides extension methods for the IInterfaceImplementationAdviser interface.
TemplateAttributeProperties
Structs
GetterTemplateSelector
Specifies the templates that must be used for the get
accessor by the IAdviceFactory.OverrideAccessors
advice.
MethodTemplateSelector
Specifies the templates that must be used by the IAdviceFactory.Override(IMethod)
advice.
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.
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.
IAdviser<T>
IClassIntroductionAdviceResult
IImplementInterfaceAdviceResult
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.
IInterfaceImplementationAdviser
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.
INamespaceIntroductionAdviceResult
IOverrideAdviceResult<T>
Represents the result of the Override
methods of the IAdviceFactory interface.
IRemoveAttributesAdviceResult
Represents the result of the RemoveAttributes(IDeclaration, INamedType) method.
ITemplateAttribute
Enums
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.
InitializerKind
InterfaceImplementationOutcome
Actions taken by the advice when implementing an interface.
InterfaceMemberImplementationOutcome
Actions taken by the advice when implementing an interface member.