PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects.​Dependencies Namespace / Aspect­Role­Dependency­Attribute Class / Aspect­Role­Dependency­Attribute Properties / Aspect­Role­Dependency­Attribute.​Role Property

AspectRoleDependencyAttribute.Role Property

Gets the role that the aspects or advices must be a part of in order to match the current dependency.

Namespace:  PostSharp.Aspects.Dependencies
Assembly:  PostSharp (in PostSharp.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
public string Role { get; }

Property Value

Type: String
See Also