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

Method OnInstanceLocationInitialized


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.

void OnInstanceLocationInitialized(LocationInitializationArgs args)
Type Name Description
LocationInitializationArgs args

Information about the location.