Example #1
0
        private void openDeck(DeckModel deckModel, bool inNewTab, bool transformed)
        {
            var deck = transformed
                                ? deckModel.Deck
                                : deckModel.OriginalDeck;

            DeckOpened?.Invoke(this, deck, inNewTab);
        }
Example #2
0
 private void openDeck(DeckModel deckModel) =>
 DeckOpened?.Invoke(this, deckModel.Deck);