PostSharp.ILAPI ReferencePost­Sharp.​AspectsMethod­Implementation­Aspect
Open sandboxFocus

MethodImplementationAspect Class

Aspect that, when applied on an abstract or extern method, creates an implementation for this method.

Inheritance
MethodImplementationAspect
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() PostSharp.Aspects.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.