Reporter | Alexander Shvedov (shvedov) |
---|---|
Created | Jan 16, 2012 4:42:21 PM |
Updated | Jan 16, 2012 9:09:49 PM |
Resolved | Jan 16, 2012 6:08:36 PM |
Priority | Major |
Type | Usability Problem |
Fix versions | Next |
State | Fixed |
Assignee | Evgeny Pasynkov (pasynkov) |
Subsystem | Context actions |
Affected versions | 6.1 |
Fixed in build | 6.5.1.2465 |
public string Name { get { return myName; } set { if (myName == value) { myName = value; NotifyChanged("Name"); } } }
after invert:
public string Name { get { return myName; } set { if (myName != value) { } else { myName = value; NotifyChanged("Name"); } } }
looks bad, isn't it?