public CardRackViewModel(CardRackViewModel other) : base(other) { _discardedCardsSynced = new SyncedViewModelList <CardSet, CardSetViewModel>(new List <CardSet>(other.DiscardedCards.Models()), model => new CardSetViewModel(model)); }
public PlayerViewModel() : base(new Player(String.Empty)) { _rack = new CardRackViewModel(); }
public PlayerViewModel(Player model) : base(model) { _rack = model != null ? new CardRackViewModel(model.Rack) : new CardRackViewModel(); }
public PlayerViewModel(PlayerViewModel other) : base(other) { _rack = other != null ? new CardRackViewModel(other.Rack) : new CardRackViewModel(); }