Пример #1
0
        protected override void OnAppearing()
        {
            base.OnAppearing();

            _viewModel.IsPageVisible = true;

            if (TranscodeJob != null)
            {
                Task.Run(() => _viewModel.Load(TranscodeJob));
            }
        }
Пример #2
0
        public async Task PassesJobToImageGenerator()
        {
            var job = new TranscodeJob();

            await _viewModel.Load(job);

            await _imageGenerator.Received().Generate(job);
        }