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

FieldLevelAspect.CompileTimeInitialize Method

CompileTimeInitialize(FieldInfo, 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(FieldInfo field, AspectInfo aspectInfo)
Type Name Description
FieldInfo field

Field to which the current aspect is applied

AspectInfo aspectInfo

Reserved for future usage.

IFieldLevelAspectBuildSemantics.CompileTimeInitialize(FieldInfo, AspectInfo)
See Also