/// <summary> /// Initializes a new instance of the <see cref="GameFinderWindow"/> class. /// </summary> public GameFinderWindow(IGameFinderWindowViewModel viewModel) { InitializeComponent(); DataContext = viewModel; }
/// <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; }