Esempio n. 1
0
        public TwitchStreamerViewModel(TwitchStreamer streamer,
                                       TwitchViewModel twitchViewModel)

        {
            SelectAsStreamerCommand = new DelegateCommand(SelectAsStreamer);
            Streamer         = streamer.MustNotBeNull(nameof(streamer));
            _twitchViewModel = twitchViewModel.MustNotBeNull(nameof(twitchViewModel));
        }
Esempio n. 2
0
 public TwitchView(TwitchViewModel viewModel)
 {
     DataContext = viewModel.MustNotBeNull(nameof(viewModel));
     InitializeComponent();
 }