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

AspectConfigurationAttribute Class

Configures an aspect of type IAspect.
Inheritance Hierarchy
System.Object
  System.Attribute
    PostSharp.Aspects.Configuration.AspectConfigurationAttribute
      More...

Namespace:  PostSharp.Aspects.Configuration
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public class AspectConfigurationAttribute : Attribute

The AspectConfigurationAttribute type exposes the following members.

Constructors
  NameDescription
Public methodAspectConfigurationAttribute
Initializes a new instance of the AspectConfigurationAttribute class
Properties
  NameDescription
Public propertyAspectPriority
Gets or sets the weaving priority of the aspect.
Public propertySerializerType
Gets or sets the Type of the serializer that will be used to configure the current aspect.
Methods
  NameDescription
Protected methodCreateAspectConfiguration
Creates a concrete AspectConfiguration instance specifically for the current AspectConfigurationAttribute type.
Public methodGetAspectConfiguration
Gets the AspectConfiguration corresponding to the current custom attribute.
Protected methodSetAspectConfiguration
Sets up an AspectConfiguration object according to the current custom attribute instance.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also
Inheritance Hierarchy