public DeckTest( [NotNull] IRandom random, [NotNull] IPreviousCardValueFinder previous, [NotNull] INextCardValueFinder next, [NotNull] IEnumerable <ICard> cards) : base(random, previous, next, cards) { }
protected Deck( [NotNull] IRandom random, [NotNull] IPreviousCardValueFinder previous, [NotNull] INextCardValueFinder next, [NotNull] IEnumerable <ICard> cards) { m_Random = random; m_Previous = previous; m_Next = next; IEnumerable <ICard> cardsInDeck = cards as ICard[] ?? cards.ToArray(); CardsInDeck = cardsInDeck; m_Cards = cardsInDeck.ToList(); }