PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / IField­Level­Aspect Interface / IField­Level­Aspect Methods / IField­Level­Aspect.​Runtime­Initialize Method

IFieldLevelAspect.RuntimeInitialize Method

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

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
void RuntimeInitialize(
	FieldInfo field
)

Parameters

field
Type: System.Reflection.FieldInfo
Field on which this instance is applied.
See Also