PostSharpAPI ReferencePost­Sharp.​AspectsAssembly­Level­AspectCompile­Time­Initialize
Open sandboxFocus

AssemblyLevelAspect.CompileTimeInitialize Method

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.

public virtual void CompileTimeInitialize(Assembly assembly, AspectInfo aspectInfo)
Type Name Description
Assembly assembly

Assembly to which the current aspect is applied

AspectInfo aspectInfo

Reserved for future usage.

IAssemblyLevelAspectBuildSemantics.CompileTimeInitialize(Assembly, AspectInfo)
See Also