PostSharpAPI ReferencePost­Sharp.​Aspects.​DependenciesAspect­Dependency­Target
Open sandboxFocus

AspectDependencyTarget Class

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

Inheritance
AspectDependencyTarget
Namespace: PostSharp.Aspects.Dependencies
Assembly: PostSharp.dll
Syntax
public sealed class AspectDependencyTarget : Enum
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.

value__