PostSharpAPI ReferencePost­Sharp.​AspectsAssembly­Level­Aspect
Open sandboxFocus

AssemblyLevelAspect Class

Base class for all aspects applied on assemblies.

Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
[MulticastAttributeUsage]
[Serializer]
public abstract class AssemblyLevelAspect : Aspect, IAspectBuildSemantics, IValidableAnnotation, IAssemblyLevelAspect, IAssemblyLevelAspectBuildSemantics, IAspect

Constructors

Name Description
AssemblyLevelAspect() PostSharp.Aspects.AssemblyLevelAspect

Methods

Name Description
CompileTimeInitialize(Assembly, AspectInfo)

Method invoked at build time to initialize the instance fields of the current aspect. This method is invoked before any other build-time method.

CompileTimeValidate(Object)

Method invoked at build time to ensure that the aspect has been applied to the right target.

CompileTimeValidate(Assembly)

Method invoked at build time to ensure that the aspect has been applied to the right target.

SetAspectConfiguration(AspectConfiguration, Object)

Method invoked at build time to set up an AspectConfiguration object according to the current Aspect instance and a specified target element of the current aspect.

SetAspectConfiguration(AspectConfiguration, Assembly)

Method invoked at build time to set up an AspectConfiguration object according to the current Aspect instance and a specified target element of the current aspect.