PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Aspect­Instance Class / Aspect­Instance Properties
AspectInstance Properties

The AspectInstance type exposes the following members.

Properties
  Name Description
Public property Aspect
Gets the aspect instance.
(Inherited from AspectSpecification.)
Public property AspectAssemblyQualifiedTypeName
Gets the assembly-qualified type name of the aspect.
(Inherited from AspectSpecification.)
Public property AspectConfiguration
Gets the aspect configuration.
(Inherited from AspectSpecification.)
Public property AspectConstruction
Gets the aspect construction.
(Inherited from AspectSpecification.)
Public property AspectTypeName
Gets the type name of the aspect.
(Inherited from AspectSpecification.)
Public property RepresentAsStandalone
Determines whether the AspectInstance should be represented as a stand-alone instance in PostSharp Tools for Visual Studio. If false, the current AspectInstance will be not be represented as a standalone node, and its advices will be merged with the ones provided by the parent aspect (implementing IAspectProvider). The default value is false.
Public property TargetElement
Gets the code element (Assembly, Type, FieldInfo, MethodBase, PropertyInfo, EventInfo, ParameterInfo, or LocationInfo) to which the current AspectInstance is applied.
See Also