Open sandboxFocus

Enum AspectDependencyTarget

Enumeration of targets (Default or Type) to which the aspect dependency apply.

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 thing.

Member-level aspects may have semantics that actually apply at type level (for instance 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 will apply to member-level semantics.

Fields

Name Description
Default

Natural target of the aspect.

Type

Declaring type of the natural target of the aspect.