PostSharpAPI ReferencePost­Sharp.​AspectsIOn­Instance­Location­Initialized­Aspect
Open sandboxFocus

IOnInstanceLocationInitializedAspect Interface

Contains the signature of OnInstanceLocationInitialized(LocationInitializationArgs), a location-level advice.

Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
public interface IOnInstanceLocationInitializedAspect : ILocationLevelAspect, IAspect


Name Description

Method invoked after an initial value is set for a field or property to which the current aspect is applied. The method is invoked only for instance fields and instance auto-implemented properties, and it is invoked after their inline initialization. For static fields and properties, and for accesses from the constructor, OnSetValue is invoked instead.