Example #1
0
 internal void SetField <T>(ref DirtyDictionary <string, T>?field, IDictionary <string, T>?value, [CallerMemberName] string?propertyName = null)
 {
     if (base.SetField(ref field, value))
     {
         OnPropertyChanged(propertyName);
     }
 }
Example #2
0
 internal new IDictionary <string, T> GetField <T>(ref DirtyDictionary <string, T>?field) => base.GetField(ref field);