For Babelfish Release 1.12.5.15

MatchParticipant Class

Definition

Namespace: Scopos.BabelFish.DataModel.OrionMatch
Assembly: BabelFish (in BabelFish.dll) Version: 1.12.5.15+bc7490f802416c9e774304c66372b6a26afede1d
C#
[SerializableAttribute]
public class MatchParticipant : IParticipant, 
	ICheckSum
Inheritance
Object    MatchParticipant
Implements
ICheckSum, IParticipant

Constructors

MatchParticipantInitializes a new instance of the MatchParticipant class

Properties

CheckSum A hashed value that is unique to this instance. The value is calculated by the CalculateChecksum() method.
Creator String holding the software (Orion Scoring System) and Version number of the software.
LastUpdated 
LocalDate 
MatchID 
MatchName 
MatchParticipantResults Intended to be a list of squadding events that the Participant competed it. However, the format is not well organize and needs to be updated.
ParentID 
Participant 
ParticipantID Unique ID within this match, for this Match Participant.
RoleList A list of Authorization Roles the participant has.

Obsolete as of Orion version 2.25.


Obsolete
UserID UUID formatted Orion Account user id.

Methods

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.

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToString
(Overrides ObjectToString)

See Also