コード例 #1
0
 public GameViewModel(
     IGamePathInfo game,
     IGameInfoParser gameInfoParser,
     IDesktopShortcutMaker desktopShortcutMaker)
 {
     this.game                 = game;
     this.gameInfoParser       = gameInfoParser;
     this.desktopShortcutMaker = desktopShortcutMaker;
 }
コード例 #2
0
 public IGameViewModel CreateGameViewModel(IGamePathInfo gamePathInfo)
 {
     return(new GameViewModel(gamePathInfo, gameInfoParser, desktopShortcutMaker));
 }