public GamesViewModel(IGameCatalog catalog) { theCatalog = catalog; theCatalog.GameLoadingComplete += new EventHandler <GameLoadingEventArgs>(games_GameLoadingComplete); theCatalog.GameLoadingError += new EventHandler <GameCatalogErrorEventArgs>(games_GameLoadingError); }
public GamesViewModel(IGameCatalog catalog) { theCatalog = catalog; theCatalog.GameLoadingComplete += new EventHandler<GameLoadingEventArgs>(games_GameLoadingComplete); theCatalog.GameLoadingError += new EventHandler<GameCatalogErrorEventArgs>(games_GameLoadingError); }