public GameViewModel( IGamePathInfo game, IGameInfoParser gameInfoParser, IDesktopShortcutMaker desktopShortcutMaker) { this.game = game; this.gameInfoParser = gameInfoParser; this.desktopShortcutMaker = desktopShortcutMaker; }
public IGameViewModel CreateGameViewModel(IGamePathInfo gamePathInfo) { return(new GameViewModel(gamePathInfo, gameInfoParser, desktopShortcutMaker)); }