Exemplo n.º 1
0
 private void Dto_PropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     if (!(sender is DtoBase dto))
     {
         throw new InvalidOperationException("Object provided is not DtoBase");
     }
     ReferencePropertyChanged?.Invoke(this, new WrappedEventArgs(dto, e));
 }
Exemplo n.º 2
0
 private void _referencePropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     ReferencePropertyChanged?.Invoke(sender, e);
 }