PostSharp.ILAPI ReferencePost­Sharp.​AspectsIEvent­Level­Aspect­Build­SemanticsCompile­Time­Initialize
Open sandboxFocus

IEventLevelAspectBuildSemantics.CompileTimeInitialize Method

CompileTimeInitialize(EventInfo, 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
void CompileTimeInitialize(EventInfo targetEvent, AspectInfo aspectInfo)
Parameters
Type Name Description
System.Reflection.EventInfo targetEvent

Event to which the current aspect is applied

AspectInfo aspectInfo

Reserved for future usage.