Result |
public class ResultDTO
The ResultDTO type exposes the following members.
| Name | Description | |
|---|---|---|
| BoardNumber | Required, must be greater than zero. The board must exist, i.e.: it must have been specified in the RoundDTO's LowBoardNumber and HighBoardNumber properties. | |
| DeclarerDirection | The direction of the declarer: 0: NA 1: North or NorthSouth 2: East or EastWest 3: South 4: West | |
| DeclaringPair | Required: either the PairNorthSouth or the PairEastwest number. | |
| Denomination | The denomination: 0: NA 1: Clubs 2: Diamonds 3: Hearts 4: Spades 5: NoTrump | |
| IsDeleted | Marks the result as deleted. All properties below will be ignored. | |
| LeadCardRank | Optional: 2-10: the card value 11: Jack 12: Queen 13: King 14: Ace | |
| LeadCardSuit | Required when LeadCardRank > 0 1: Clubs 2: Diamonds 3: Hearts 4: Spades | |
| Level | The contract level: 1-7 natural contract 0 Pass -1 Avg-/Avg- -2 Avg-/Avg -3 Avg-/Av+ -4 Avg/Avg- -5 Avg/Avg -6 Avg/Avg+ -7 Avg+/Avg- -8 Avg+/Avg -9 Avg+/Avg+ -10 No play | |
| PairEastWest | Required:The pairnumber for EastWest | |
| PairNorthSouth | Required: The pairnumber for NorthSouth | |
| RoundNumber | Required, must be greater than zero. The round must exist. | |
| ScoringDirection | Required. The pair for which the result will count towards their result. 1: NortSouth 2: EastWest 3: For NorthSouth as wel as for EastWest Note: currently split scores (scores different for NS and EW) are not supported. BCS will work with the NS value. | |
| SectionLetters | Required, the letters of the section in which the result was obtained. The section must exist. | |
| SessionGuid | Required.The guid of the session the result belongs to. | |
| Stake | The stake of the contract: 0: normal 1: doubled 2: redoubled | |
| TableNumber | Required, must be greater than zero. The table must exist. | |
| TotalTricks | A number between 0 and 13 describing the number of tricks made. Zero tricks can also mean: pass, or artificial result (see Level) | |
| ValidationMessages | An array of messages describing problems in data integrity and invalid values. |
| Name | Description | |
|---|---|---|
| IsSwitched | Calculates if the board was played int the NS direction by the EW pair or vice versa. | |
| ToString | (Overrides ObjectToString) | |
| Validate | Validates the DTO. Produces validation messages if there are problems. |
| Name | Description | |
|---|---|---|
| AvgAvgAvg | An artificial score of Average for the North-South pair and Average for the East-West pair. | |
| AvgAvgMin | An artificial score of Average for the North-South pair and Average Minus for the East-West pair if the ScoringDirection property is ScoringDirection_NS or ScoringDirection_NSEW. If the ScoringDirection is ScoringDirection_EW then the values are reversed. | |
| AvgAvgPlus | An artificial score of Average for the North-South pair and Average Plus for the East-West pair if the ScoringDirection property is ScoringDirection_NS or ScoringDirection_NSEW. If the ScoringDirection is ScoringDirection_EW then the values are reversed. | |
| AvgMinAvg | An artificial score of Average Minus for the North-South pair and Average for the East-West pair. | |
| AvgMinMin | An artificial score of Average Minus for the North-South pair and Average Minus for the East-West pair if the ScoringDirection property is ScoringDirection_NS or ScoringDirection_NSEW. If the ScoringDirection is ScoringDirection_EW then the values are reversed. | |
| AvgMinPlus | An artificial score of Average Minus for the North-South pair and Average Plus for the East-West pair if the ScoringDirection property is ScoringDirection_NS or ScoringDirection_NSEW. If the ScoringDirection is ScoringDirection_EW then the values are reversed. | |
| AvgPlusAvg | An artificial score of Average Plus for the North-South pair and Average for the East-West pair if the ScoringDirection property is ScoringDirection_NS or ScoringDirection_NSEW. If the ScoringDirection is ScoringDirection_EW then the values are reversed. | |
| AvgPlusMin | An artificial score of Average Plus for the North-South pair and Average Minus for the East-West pair if the ScoringDirection property is ScoringDirection_NS or ScoringDirection_NSEW. If the ScoringDirection is ScoringDirection_EW then the values are reversed. | |
| AvgPlusPlus | An artificial score of Average Plus for the North-South pair and Average Plus for the East-West pair. | |
| ContractLevel_NoPLay | The board was not played. | |
| ContractLevel_Pass | The contract of the board was "Pass". | |
| Denomination_Clubs | The denomination of the contract is Clubs. | |
| Denomination_Diamonds | The denomination of the contract is Diamonds. | |
| Denomination_Hearts | The denomination of the contract is Hearts. | |
| Denomination_NoTrump | The denomination of the contract is No Trump. | |
| Denomination_Spades | The denomination of the contract is Spades. | |
| Direction_East | Declarer is the player on the East seat. | |
| Direction_North | Declarer is the player on the North seat. | |
| Direction_South | Declarer is the player on the South seat. | |
| Direction_West | Declarer is the player on the West seat. | |
| ScoringDirection_EW | The result pertains to East-West only. i.e.: The North-South pair may have a different result and a ResultDTO with its ScoringDirection property set to ScoringDirection_NS must be provided. | |
| ScoringDirection_NS | The result pertains to North-South only. i.e.: The East-West pair may have a different result and a ResultDTO with its ScoringDirection property set to ScoringDirection_EW must be provided. | |
| ScoringDirection_NSEW | The result pertains to both North-South and East-West. | |
| Stake_Doubled | The contract was doubled. | |
| Stake_Normal | The contract was not doubled or redoubled. | |
| Stake_Redoubled | The contract was redoubled. |