Class MethodImplementationAspect
Aspect that, when applied on an abstract or extern
method, creates an implementation for this method.
Implements
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
[MulticastAttributeUsage]
[HasInheritedAttribute]
[Serializer]
public abstract class MethodImplementationAspect : MethodLevelAspect, IMethodLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, IMethodInterceptionAspect, IMethodLevelAspect, IAspect
Constructors
Name | Description |
---|---|
MethodImplementationAspect() |
Methods
Name | Description |
---|---|
CreateAspectConfiguration() | Method invoked at build time to create a concrete AspectConfiguration instance specifically for the current Aspect type. |
OnInvoke(MethodInterceptionArgs) | Method invoked instead of the method to which the aspect has been applied. |