public static DeckRegularDict <T> GetLoadedCards <T>(this IDeckDict <T> thisList, PlayerCollection <LifeBoardGamePlayerItem> playerList) where T : LifeBaseCard, new() { var tempList = thisList.GetCardsLeft(playerList); tempList.ForEach(thisCard => thisCard.IsUnknown = true); tempList.ShuffleList(); return(tempList); }