¡@

Home 

c# Programming Glossary: setfield

Implementing INotifyPropertyChanged - does a better way exist?

http://stackoverflow.com/questions/1315621/implementing-inotifypropertychanged-does-a-better-way-exist

new PropertyChangedEventArgs propertyName protected bool SetField T ref T field T value string propertyName if EqualityComparer.. string name public string Name get return name set SetField ref name value Name Each property is then just something like.. string name public string Name get return name set SetField ref name value Name which isn't huge it can also be used as..

Uses for static generic classes?

http://stackoverflow.com/questions/2685046/uses-for-static-generic-classes

in the BCL . The DataRow extension methods Field T and SetField T use the private static generic class System.Data.DataRowExtensions..

c# marking class property as dirty

http://stackoverflow.com/questions/805505/c-sharp-marking-class-property-as-dirty

private int foo public int Foo get return foo set SetField ref foo value Foo private string bar public string Bar get.. private string bar public string Bar get return bar set SetField ref bar value Bar public bool IsDirty get private set public.. PropertyChangedEventHandler PropertyChanged protected void SetField T ref T field T value string propertyName if EqualityComparer..