For Babelfish Release 1.12.5.15

Team Class

Any Team, or group of Participants in a Match. The group of Participants can be athletes or other teams

Definition

Namespace: Scopos.BabelFish.DataModel.OrionMatch
Assembly: BabelFish (in BabelFish.dll) Version: 1.12.5.15+bc7490f802416c9e774304c66372b6a26afede1d
C#
[SerializableAttribute]
public class Team : Participant
Inheritance
Object    IDeserializableAbstractClass    Participant    Team

Constructors

TeamInitializes a new instance of the Team class

Properties

AttributeValues A list of AttributeValues assigned to this Participant.
(Inherited from Participant)
CheckSum A hashed value that is unique to this instance. The value is calculated by the CalculateChecksum() method.
(Inherited from Participant)
Club The Hometown Club the Participant represents. Note, this is NOT the same as any team the Participant is shooting with.
(Inherited from Participant)
Coaches A list of this Participant's coaches.
(Inherited from Participant)
CompetitorNumber A unique, human readable, value assigned to all Participants in a match. In most cases the CompetitorNumber will be numeric, but it can also be alphabetical.
(Inherited from Participant)
ConcreteClassId Implementation of the IDeserializableAbstractClass interface. To have added control over the Deserialization of abstract classes, in to Concrete classes, the JSON should include a ConcreteClassId that specifies the Concrete class.
(Inherited from Participant)
Country The three letter country code the participant is from.
(Inherited from Participant)
DisplayName When a competitor's name is displayed, this is the default display value.
(Inherited from Participant)
DisplayNameShort When a competitor's name is displayed, and there is limited number of characters, use this value. There is no rule as to how long the Short value could be, but by convention 12 characters or less.
(Inherited from Participant)
HomeTown The Hometown the participant is from.
(Inherited from Participant)
RemarkList A list of Remark objects, each containing a RemarkName, sometimes a reason, and a status (show or don't)
(Inherited from Participant)
TeamCaptains The designated team captains for this team. A Team captain may also be a coach and may also be a member.
TeamMembers The contributing team members. These are the Participants that will make up the score shot by the team.
TeamName Returns the same value as DisplayName, but is intended to be used when the Participant is a Team. The setter does nothing, as the TeamName is always the same as DisplayName.
(Overrides ParticipantTeamName)
UniqueMergeId Calculated value to use to identify the same particpant accross multiple result lists. Primarily used in TournamentMerge.
(Overrides ParticipantUniqueMergeId)

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.


(Overrides ParticipantCalculateChecksum)
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)
ShouldSerializeAttributeValues A Newtonsoft Conditional Property to only serialize AttributeValues when the list has something in it. https://www.newtonsoft.com/json/help/html/ConditionalProperties.htm
(Inherited from Participant)
ShouldSerializeCoaches A Newtonsoft Conditional Property to only serialize Coaches when the list has something in it. https://www.newtonsoft.com/json/help/html/ConditionalProperties.htm
(Inherited from Participant)
ShouldSerializeRemarkList A Newtonsoft Conditional Property to only serialize AttributeValues when the list has something in it. https://www.newtonsoft.com/json/help/html/ConditionalProperties.htm
(Inherited from Participant)
ToStringReturns a string that represents the current object.
(Inherited from Participant)

Fields

See Also