Пример #1
0
 private void ViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     if (e.PropertyName == nameof(ViewModel.SelectedBlob))
     {
         if (ViewModel.Account.Definition is BlobApplicationAccount baa)
         {
             UiBuilder.BuildMenu(BlobContextMenu, _blobContextMenuItemCount, baa, ViewModel.Storage, ViewModel.SelectedBlob);
         }
     }
 }