Open sandboxFocus

Class DeclarationIdentifierAttribute

Binds a parameter of an advice method to the DeclarationIdentifier of the target declaration.

Inheritance
DeclarationIdentifierAttribute
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public sealed class DeclarationIdentifierAttribute : AdviceParameterAttribute
Remarks

The parameter must be of type DeclarationIdentifier, and it cannot be ref, in or out. The value is not boxed, so a parameter of type object is not accepted.

Constructors

Name Description
DeclarationIdentifierAttribute()

See Also