PostSharp5.0/API Reference/Post­Sharp.​Aspects.​Configuration Namespace/Method­Interception­Aspect­Configuration Class

MethodInterceptionAspectConfiguration Class

Configuration of aspects of type IMethodInterceptionAspect.
Inheritance Hierarchy
System.Object
  PostSharp.Aspects.Configuration.AspectConfiguration
    PostSharp.Aspects.Configuration.MethodInterceptionAspectConfiguration

Namespace:  PostSharp.Aspects.Configuration
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public sealed class MethodInterceptionAspectConfiguration : AspectConfiguration

The MethodInterceptionAspectConfiguration type exposes the following members.

Constructors
  NameDescription
Public methodMethodInterceptionAspectConfiguration
Initializes a new instance of the MethodInterceptionAspectConfiguration class
Properties
  NameDescription
Public propertyAspectPriority
Gets or sets the aspect priority. Aspects with smaller priority are processed first. The default priority is zero.
(Inherited from AspectConfiguration.)
Public propertyDependencies
Gets or sets the collection of dependencies.
(Inherited from AspectConfiguration.)
Public propertySemanticallyAdvisedMethodKinds
Determines which target methods will be advised semantically. This affects the behavior of the aspect when it's applied to iterator or async methods, which are compiled into state machines.
Public propertySerializerType
Gets or sets the type of the serializer that will be used to configure the current aspect.
(Inherited from AspectConfiguration.)
Public propertyUnsupportedTargetAction
Specifies the action to take when the aspect is applied to an async method with unsupported return value type.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also