Example #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="GameFinderWindow"/> class.
        /// </summary>
        public GameFinderWindow(IGameFinderWindowViewModel viewModel)
        {
            InitializeComponent();

            DataContext = viewModel;
        }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GameFinderWindowFactory"/> class.
 /// </summary>
 /// <param name="gameFinderWindowViewModel">The <see cref="IGameFinderWindowViewModel"/> object to be injected
 /// into the created <see cref="GameFinderWindow"/> object.</param>
 public GameFinderWindowFactory(IGameFinderWindowViewModel gameFinderWindowViewModel)
 {
     _gameFinderWindowViewModel = gameFinderWindowViewModel;
 }