PostSharp 6.10 / / 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: (
public string Role { get; }

Property Value

Type: String
See Also