Open sandboxFocus

Enum AspectDependencyTarget

Specifies the targets (Default or Type) to which an aspect dependency applies.

Namespace: PostSharp.Aspects.Dependencies
Assembly: PostSharp.dll
Syntax
public enum AspectDependencyTarget
Remarks

This property is meaningful only for aspects that apply to type members. For aspects that apply to types, type-level and default-level dependencies are the same.

Member-level aspects may have semantics that apply at type level (for example, member introductions and imports). By setting the dependency target to Type, you can specify that the aspect dependency applies to type-level semantics. Otherwise, it applies to member-level semantics.

Fields

Name Description
Default

The natural target of the aspect.

Type

The declaring type of the natural target of the aspect.