private void openDeck(DeckModel deckModel, bool inNewTab, bool transformed) { var deck = transformed ? deckModel.Deck : deckModel.OriginalDeck; DeckOpened?.Invoke(this, deck, inNewTab); }
private void openDeck(DeckModel deckModel) => DeckOpened?.Invoke(this, deckModel.Deck);