Open sandboxFocus
  • TOC

Metalama Documentation

Getting started

Video tutorials

Conceptual documentation

Commented examples

API documentation

Aspect API

Extensions API

Patterns API

Flashtrace API

Introspection API

Advanced API

Post­Sharp API migration

Post­Sharp

Post­Sharp.​Aspects

Post­Sharp.​Aspects.​Advices

Advice2

Advice­Instance

Advice­Parameter­Attribute2

Argument­Attribute3

Arguments­Attribute3

Aspect­Initialization­Reason

Async­Call­Id­Attribute3

Awaited­Method­Attribute3

Awaited­Task­Attribute3

Awaiter­Attribute3

Binding­Attribute3

Copy­Custom­Attributes­Attribute3

Current­Task­Attribute3

Custom­Attribute­Override­Action

Declaration­Identifier­Attribute3

Declaration­Name­Attribute3

Event<TDelegate>

Event­Accessor<TDelegate>

Flow­Behavior­Attribute3

Grouping­Advice3

IAdvice­Provider

Import­Location­Advice­Instance3

Import­Member­Advice­Instance2

Import­Member­Attribute3

Import­Member­Order

Import­Method­Advice­Instance3

Initialize­Aspect­Instance­Advice3

Interface­Override­Action

Introduce­Interface­Advice­Instance2

Introduce­Interface­Attribute3

Introduce­Member­Advice­Instance2

Introduce­Member­Attribute3

Introduce­Method­Advice­Instance3

IProperty

Location­Validation­Advice4

Location­Value­Attribute3

Match­Pointcut3

Member­Override­Action

Method­Pointcut3

Multicast­Pointcut3

On­Aspects­Initialized­Advice3

On­Event­Add­Handler­Advice4

On­Event­Invoke­Handler­Advice4

On­Event­Remove­Handler­Advice4

On­Instance­Constructed­Advice3

On­Instance­Location­Initialized­Advice4

On­Location­Get­Value­Advice4

On­Location­Set­Value­Advice4

On­Method­Boundary­Advice4

On­Method­Entry­Advice5

On­Method­Exception­Advice5

On­Method­Exit­Advice5

On­Method­Invoke­Advice5

On­Method­Invoke­Async­Advice5

On­Method­Invoke­Base­Advice4

On­Method­Resume­Advice5

On­Method­Success­Advice5

On­Method­Yield­Advice5

Pointcut2

Property<TValue>

Property<TValue, TIndex>

Property­Getter<TValue>

Property­Getter<TValue, TIndex>

Property­Setter<TValue>

Property­Setter<TValue, TIndex>

Return­Value­Attribute3

Self­Pointcut3

Signature­Pointcut3

State­Attribute3

State­Scope

This­Attribute3

Post­Sharp.​Aspects.​Configuration

Post­Sharp.​Aspects.​Dependencies

Post­Sharp.​Aspects.​Internals

Post­Sharp.​Aspects.​Serialization

Post­Sharp.​Collections

Post­Sharp.​Constraints

Post­Sharp.​Extensibility

Post­Sharp.​Extensibility.​Build­Time­Logging

Post­Sharp.​Reflection

Post­Sharp.​Reflection.​Method­Body

Post­Sharp.​Serialization

  • Article

Class DeclarationIdentifierAttribute

There is no equivalent to this feature in Metalama, but you can use a template to generate equivalent code.

Inheritance
DeclarationIdentifierAttribute
Namespace: PostSharp.Aspects.Advices
Assembly: Metalama.Migration.dll
Syntax
[Obsolete("There is no equivalent to this feature in Metalama, but you can use a template to generate equivalent code.", false)]
public sealed class DeclarationIdentifierAttribute : AdviceParameterAttribute

Constructors

Name Description
DeclarationIdentifierAttribute()

Extension Methods

  • Navigation