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

TypeLevelAspect.CompileTimeInitialize Method

CompileTimeInitialize(Type, 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.

Declaration
public virtual void CompileTimeInitialize(Type type, AspectInfo aspectInfo)
Parameters
Type Name Description
Type type

Type to which the current aspect is applied

AspectInfo aspectInfo

Reserved for future usage.

Implements
ITypeLevelAspectBuildSemantics.CompileTimeInitialize(Type, AspectInfo)
See Also