Belt and suspenders
The Weird and The Wonderful
3
Posts
3
Posters
11
Views
1
Watching
-
private string \_CustomName = "Contact the developer"; public string CustomName { get { return \_CustomName; } set { if (!\_CustomName.IsNull()) { if (!\_CustomName.Equals(value)) { \_CustomName = value; OnPropertyChanged("CustomName"); } } else if (\_CustomName != value) { \_CustomName = value; OnPropertyChanged("CustomName"); } } }
Not sure I want to contact the developer. :doh:
Wrong is evil and must be defeated. - Jeff Ello
-
private string \_CustomName = "Contact the developer"; public string CustomName { get { return \_CustomName; } set { if (!\_CustomName.IsNull()) { if (!\_CustomName.Equals(value)) { \_CustomName = value; OnPropertyChanged("CustomName"); } } else if (\_CustomName != value) { \_CustomName = value; OnPropertyChanged("CustomName"); } } }
Not sure I want to contact the developer. :doh:
Wrong is evil and must be defeated. - Jeff Ello
It's custom-ary :-\
-
private string \_CustomName = "Contact the developer"; public string CustomName { get { return \_CustomName; } set { if (!\_CustomName.IsNull()) { if (!\_CustomName.Equals(value)) { \_CustomName = value; OnPropertyChanged("CustomName"); } } else if (\_CustomName != value) { \_CustomName = value; OnPropertyChanged("CustomName"); } } }
Not sure I want to contact the developer. :doh:
Wrong is evil and must be defeated. - Jeff Ello
... and he forgot the
StringEqualityComparison
parameter in theEquals
function...Oh sanctissimi Wilhelmus, Theodorus, et Fredericus!