PostSharpAPI ReferencePost­Sharp.​AspectsILocation­Interception­AspectOn­Set­Value
Open sandboxFocus

Method OnSetValue

OnSetValue(LocationInterceptionArgs)

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

Declaration
[RequiresLocationInterceptionAdviceAnalysis]
[RequiresDebuggerEnhancement]
[HasInheritedAttribute]
void OnSetValue(LocationInterceptionArgs args)
Parameters
Type Name Description
LocationInterceptionArgs args

Advice arguments.