Open sandboxFocus

Class AspectDependencyAttribute

In Metalama, use AspectOrderAttribute to specify order dependencies (typically one attribute per aspect library). The other kinds of dependencies are not supported in Metalama.

Namespace: PostSharp.Aspects.Dependencies
Assembly: Metalama.Migration.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = true)]
[Obsolete("In Metalama, use 'AspectOrderAttribute' to specify order dependencies (typically one attribute per aspect library). The other kinds of dependencies are not supported in Metalama.", false)]
public abstract class AspectDependencyAttribute : Attribute

Constructors

Name Description
AspectDependencyAttribute(AspectDependencyAction)
AspectDependencyAttribute(AspectDependencyAction, AspectDependencyPosition)

Fields

Name Description
Target

Properties

Name Description
Action
IsWarning
Position
TargetType