Open sandboxFocus

Class AspectConfigurationAttribute

Configures an aspect of type IAspect.

Namespace: PostSharp.Aspects.Configuration
Assembly: PostSharp.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class AspectConfigurationAttribute : Attribute

Constructors

Name Description
AspectConfigurationAttribute()

Properties

Name Description
AspectPriority

Gets or sets the weaving priority of the aspect.

SerializerType

Gets or sets the Type of the serializer that will be used to configure the current aspect.

Methods

Name Description
CreateAspectConfiguration()

Creates a concrete AspectConfiguration instance specifically for the current AspectConfigurationAttribute type.

GetAspectConfiguration()

Gets the AspectConfiguration corresponding to the current custom attribute.

SetAspectConfiguration(AspectConfiguration)

Sets up an AspectConfiguration object according to the current custom attribute instance.

See Also