PostSharpAPI ReferencePost­Sharp.​Aspects.​DependenciesProvide­Aspect­Role­Attribute
Open sandboxFocus

ProvideAspectRoleAttribute Class

Specifies that the aspect or aspect advice to which this custom attribute is applied is a part of a given role. This aspect or advice can then be matched by AspectRoleDependencyAttribute/

Inheritance
ProvideAspectRoleAttribute
Namespace: PostSharp.Aspects.Dependencies
Assembly: PostSharp.dll
Syntax
public sealed class ProvideAspectRoleAttribute : AspectDependencyAttribute

Constructors

Name Description
ProvideAspectRoleAttribute(String)

Initializes a new ProvideAspectRoleAttribute.

Properties

Name Description
Role

Gets the role into which the aspect or advice to which this custom attribute is applied will be enrolled.

See Also