[SerializableAttribute]
public class EventScore : ICheckSum| EventScore | Initializes a new instance of the EventScore class |
| CheckSum | A hashed value that is unique to this instance. The value is calculated by the CalculateChecksum() method. |
| EventName | |
| EventStyleDef | If this Event matches with a defined EventStyle this is the SetName of that EventStyle |
| EventType | EVENT STAGE SERIES SHOT etc |
| MatchId | A Temporary field that's needed by the TournamentMerger |
| NumShotsFired | The number of shots the athletes has fired in this Event. NOTE that this is different from the number of shots in the event. |
| Participant | A Temporary field that's needed by the TournamentMerger |
| Projected | The projected / predicted score the Participant is expected to finish with. |
| Score | The actual score the Participant has shot. |
| ScoreFormatted | ScoreFormatted may only be set when the Shot is part of a Result COF .Events dictrionary |
| StageStyleDef | If this Event matches with a defined StageStyle this is the SetName of that StageStyle |
| Status |
The status of this Result COF. It is generally best to call .GetStatus() instead of reading the value from
.Status, as the status may be updated if the last updated time is more than an hour old.
|
| CalculateChecksum |
Calculates a checksum value that represents the current state of the instance's properties, excluding the
LastUpdated and CheckSum properties. Assuming the underlying data did not change, the value of this method should be the same
across multiple serializations and deserializations of the same instance.
The intent of this method is two-fold. First to provide a way to verify the integrity of the instance's data after deserialization. If someone (or something) modified the serialized values then CalculateChecksum should return a different value. While we may not know what changed, we can at least detect something manipulated the data. The second intent is to compare the value of the instance on the server to the local copy. If the value is the same (on the server and locally) then the server has the up to date instance value. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| SetEventStatus |
Determines the status of an Event for an Athlete. This method does not work for Teams
(Defined by ResultListExtensions) |