Preguntas etiquetadas con callermembername

1
¿Es [CallerMemberName] lento en comparación con las alternativas al implementar INotifyPropertyChanged?
Hay buenos artículos que sugieren diferentes formas de implementaciónINotifyPropertyChanged . Considere la siguiente implementación básica: class BasicClass : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; private void FirePropertyChanged(string propertyName) { var handler = PropertyChanged; if (handler != null) handler(this, new PropertyChangedEventArgs(propertyName)); } private int sampleIntField; public int SampleIntProperty { get { …
Al usar nuestro sitio, usted reconoce que ha leído y comprende nuestra Política de Cookies y Política de Privacidad.
Licensed under cc by-sa 3.0 with attribution required.