public void Setup()
        {
            var processStarter = NSubstitute.Substitute.For <IProcessStarter>();

            _viewModel   = new DropboxSharedLinksViewModel(new DropboxSharedLinksWindowTranslation(), processStarter);
            _interaction = new DropboxSharedLinksInteraction(new DropboxFileMetaData());
            _viewModel.SetInteraction(_interaction);
        }
Example #2
0
 public DropboxSharedLinksWindow(DropboxSharedLinksViewModel viewModel)
 {
     _viewModel  = viewModel;
     DataContext = viewModel;
     InitializeComponent();
 }