PostSharp.ILAPI ReferencePost­Sharp.​AspectsLocation­Level­AspectCompile­Time­Initialize
Open sandboxFocus

LocationLevelAspect.CompileTimeInitialize Method

CompileTimeInitialize(LocationInfo, 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(LocationInfo targetLocation, AspectInfo aspectInfo)
Parameters
Type Name Description
LocationInfo targetLocation

Location to which the current aspect is applied

AspectInfo aspectInfo

Reserved for future usage.

Implements
ILocationLevelAspectBuildSemantics.CompileTimeInitialize(LocationInfo, AspectInfo)