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(); }
public void Shelve(IShelveset shelveset, IPendingChange[] changes, TfsShelvingOptions options) { _workspace.Shelve(_bridge.Unwrap <Shelveset>(shelveset), _bridge.Unwrap <PendingChange>(changes), _bridge.Convert <ShelvingOptions>(options)); }
public Shelveset Unwrap(IShelveset shelveset) { return WrapperFor<Shelveset>.Unwrap(shelveset); }
public MainRowViewModel(IShelveset shelveset) { _shelveset = shelveset; }