public GamesViewModel(TeamBewerb tournament, StockTVs stockTVs) { this.tournament = tournament; this.stockTVs = stockTVs; ConcatRoundsOnOutput = false; TeamNameOnTurnCards = false; }
/// <summary> /// Standard Constructor /// </summary> /// <param name="stockTVs"></param> public StockTVCollectionViewModel(ref StockTVs stockTVs) { this.StockTVCollection = new ObservableCollection <StockTV>(); this._stockTVs = stockTVs; this._stockTVs.StockTVCollectionAdded += StockTVs_StockTVCollectionAdded; this._stockTVs.StockTVCollectionRemoved += StockTVs_StockTVCollectionRemoved; AddStockTVsToCollection(_stockTVs); }