PostSharpAPI ReferencePost­Sharp.​Patterns.​ModelNotify­Property­Changed­AttributeOn­Field­Set
Open sandboxFocus

Method OnFieldSet

OnFieldSet<T>(ILocationBinding<T>, Object, T, DeclarationIdentifier)

Declaration
[OnLocationSetValueAdvice(LinesOfCodeAvoided = 1, Description = "Enqueues change notifications for affected properties")]
[ProvideAspectRole("INPC_FieldTracking")]
[MethodPointcut("SelectFields")]
[LocationInterceptionAdviceOptimization]
[Internal(AttributeId = -5178615503861546931L)]
[DebuggerAspectMethod]
public void OnFieldSet<T>([Binding] ILocationBinding<T> binding, [This] object instance, [LocationValue] T value, [DeclarationIdentifier] DeclarationIdentifier declarationIdentifier)
Parameters
Type Name Description
ILocationBinding<T> binding
Object instance
T value
DeclarationIdentifier declarationIdentifier
Type Parameters
Name Description
T