Exemple #1
0
 public string ToXML()
 {
     return(Bid.ToXML() + (Doubled ? "x" : "") + (Redoubled ? "x" : ""));
 }
 public override void HandleBidDone(Seats source, Bid bid)
 {
     if (bid == null)
     {
         throw new ArgumentNullException("bid");
     }
     Log.Trace(4, "{2}.BoardResultRecorder.HandleBidDone: {0} bid {1}", source, bid.ToXML(), this.Owner);
     if (!bid.Hint)
     {
         this.theAuction.Record(bid.Clone());
         if (this.theAuction.Ended)
         {
             this.thePlay = new PlaySequence(this.theAuction.FinalContract, 13);
         }
     }
 }