In Metalama, use AspectOrderAttribute to specify order dependencies (typically one attribute per aspect library). The other kinds of dependencies are not supported in Metalama.
Inheritance
AspectDependencyAttribute
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 : AttributeConstructors
| Name | Description |
|---|---|
| AspectDependencyAttribute(AspectDependencyAction) | |
| AspectDependencyAttribute(AspectDependencyAction, AspectDependencyPosition) |
Fields
| Name | Description |
|---|---|
| Target |
Properties
| Name | Description |
|---|---|
| Action | |
| IsWarning | |
| Position | |
| TargetType |