示例#1
0
 public static PlayingCard RebuildCard(string input)
 {
     return(new PlayingCard()
     {
         Suit = (Suit)ValueSetter <Suit> .DisplayValue(input[1].ToString()),
         Rank = (Rank)ValueSetter <Rank> .DisplayValue(input[0].ToString())
     });
 }