Exemplo n.º 1
0
 public GamesViewModel(TeamBewerb tournament, StockTVs stockTVs)
 {
     this.tournament      = tournament;
     this.stockTVs        = stockTVs;
     ConcatRoundsOnOutput = false;
     TeamNameOnTurnCards  = false;
 }
Exemplo n.º 2
0
        /// <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);
        }