private async void Download(MainWindowDownloadMessage message)
        {
            if (SelectedRow != null)
            {
                DispatcherHelper.CheckBeginInvokeOnUI(() => IsBusy = true);

                IShelveset shelveset = SelectedRow.ToShelveset();
                int        fileCount = await Task.Run(() => _backupService.DownloadShelveset(message.DestinationFolder, new[] { shelveset }));

                DispatcherHelper.CheckBeginInvokeOnUI(() => IsBusy = false);
            }
        }
 public void Shelve(IShelveset shelveset, IPendingChange[] changes, TfsShelvingOptions options)
 {
     throw new NotImplementedException();
 }
Exemple #3
0
 public void Shelve(IShelveset shelveset, IPendingChange[] changes, TfsShelvingOptions options)
 {
     _workspace.Shelve(_bridge.Unwrap <Shelveset>(shelveset), _bridge.Unwrap <PendingChange>(changes), _bridge.Convert <ShelvingOptions>(options));
 }
 public void Shelve(IShelveset shelveset, IPendingChange[] changes, TfsShelvingOptions options)
 {
     throw new NotImplementedException();
 }
Exemple #5
0
 public Shelveset Unwrap(IShelveset shelveset)
 {
     return WrapperFor<Shelveset>.Unwrap(shelveset);
 }
 public MainRowViewModel(IShelveset shelveset)
 {
     _shelveset = shelveset;
 }