PostSharpAPI ReferencePost­Sharp.​AspectsLocation­Interception­AspectOn­Get­Value
Open sandboxFocus

LocationInterceptionAspect.OnGetValue Method

OnGetValue(LocationInterceptionArgs)

Method invoked instead of the Get semantic of the field or property to which the current aspect is applied, i.e. when the value of this field or property is retrieved.

Declaration
[RequiresLocationInterceptionAdviceAnalysis]
[RequiresDebuggerEnhancement]
[HasInheritedAttribute]
[LocationInterceptionAdviceOptimization]
public virtual void OnGetValue(LocationInterceptionArgs args)
Parameters
Type Name Description
LocationInterceptionArgs args

Advice arguments.

Implements
ILocationInterceptionAspect.OnGetValue(LocationInterceptionArgs)
See Also