PostSharp.ILAPI ReferencePost­Sharp.​AspectsField­Level­AspectRuntime­Initialize
Open sandboxFocus

FieldLevelAspect.RuntimeInitialize Method

RuntimeInitialize(FieldInfo)

Method invoked at runtime before any other method of the aspect is invoked.

Declaration
[RuntimeInitializeOptimization]
public virtual void RuntimeInitialize(FieldInfo field)
Parameters
Type Name Description
System.Reflection.FieldInfo field

Field on which this instance is applied.

Implements
IFieldLevelAspect.RuntimeInitialize(FieldInfo)