For Babelfish Release 1.11.1.3

Participant Class

A Participant is anyone who has a role in a Match. This includes athletes, teams, match officials, and coaches. IMPORTANT: When adding Participant to a class (such as Result COF or ResultEvent (under Result List), need to make sure to deserialize the Participant's attribute values. To do so, as an example, see GetResultCOFResponse's PostResponseProcessingAsync()

Definition

Namespace: Scopos.BabelFish.DataModel.OrionMatch
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
[SerializableAttribute]
public abstract class Participant : IDeserializableAbstractClass
Inheritance
Object    IDeserializableAbstractClass    Participant
Derived

Constructors

Properties

AttributeValues A list of AttributeValues assigned to this Participant.
Club The Hometown Club the Participant represents. Note, this is NOT the same as any team the Participant is shooting with.
Coaches A list of this Participant's coaches.
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.
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.
Country The three letter country code the participant is from.
DisplayName When a competitor's name is displayed, this is the default display value.
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.
HomeTown The Hometown the participant is from.
RemarkList A list of Remark objects, each containing a RemarkName, sometimes a reason, and a status (show or don't)
UniqueMergeId 

Methods

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
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
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
ToString
(Overrides ObjectToString)

See Also