-
-
Notifications
You must be signed in to change notification settings - Fork 228
EqualityChecking
Simon Cropp edited this page Jul 8, 2012
·
3 revisions
#summary What code is injected for equality checking
Equality check will be done before setting the field and firing the event.
{{{ public string Property1 { get { return property1; } set { if (!String.Equals(property1, value)) { property1 = value; OnPropertyChanged("Property1"); } } } }}}
The method used for equality checking is based on the property Type. The evaluation is done in the following order.