示例#1
0
        /// <summary>Convert the bid to a localized string</summary>
        /// <returns>String</returns>
        public string ToText()
        {
            switch (this.special)
            {
            case SpecialBids.Pass: return(LocalizationResources.Pass);

            case SpecialBids.Double: return("x");

            case SpecialBids.Redouble: return("xx");

            case SpecialBids.NormalBid: return(((int)this.level).ToString() + SuitHelper.ToString(this.suit));

            default: return("?");
            }
        }
示例#2
0
 public override string ToString()
 {
     return("" + SuitHelper.ToString(Suit).ToLowerInvariant() + Bridge.Rank.ToXML(Rank));
 }
示例#3
0
 public override string ToString()
 {
     return("" + SuitHelper.ToString(Suit) + Bridge.Rank.ToXML(Rank));
 }