For Babelfish Release 1.11.1.3

MatchID Class

Definition

Namespace: Scopos.BabelFish.DataModel.OrionMatch
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
[SerializableAttribute]
public class MatchID : IEquatable<MatchID>, 
	IEqualityComparer<MatchID>
Inheritance
Object    MatchID
Implements
IEqualityComparerMatchID, IEquatableMatchID

Constructors

MatchID(String) Creates a new instance of a MatchID object based on the passed in string, that it expects to be in the MatchID format.
MatchID(Int64, Int64, Int64) Creates a new MatchID based on the passed in values for domain id, component id, and sub match id. The primary match id value is filled in using a time stamp.

Properties

ComponentID Returns the Component value from this Match ID. This is usually a reference to the account number of the owner of the match.
DomainID Returns the Domain value from this Match ID
League Returns a boolean indicating if this Match ID represents a League.
LocalMatch Returns a boolean indicating if this Match ID represents a Local match. A Local match is when only one Orion instance is used in scoring.
ManuallyEntered Returns a booleaning indicating if this Match ID is for a score that was manually created by a user.
MatchGroup Returns a boolean indicating if this Match ID represents a Match Group. A Match Group is a synonym for a Tournament.
Practice Returns a boolean indicating if this Match ID is for a practice match.
PrimaryMatchID Returns the Primary Match ID value from this Match ID. Usually this is formatted as a time stamp.
SubMatchID Returns the Sub Match ID value form this Match ID. This signifies if it is a local, virtual parent, virtual child, tournament, or a league.
VirtualMatch Returns a boolean indicating if this Match ID represents a Virtual Match. Either because it is a Parent or a Child.
VirtualMatchChild Returns a boolean indicating if this Match ID represents a Virtual Match Child.
VirtualMatchParent Returns a boolean indicating if this Match ID represents a Virtual Match Parent.

Methods

Equals(MatchID) Returns true if the passed in MatchID has the same value as the current MatchID. Otherwise returns false.
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(MatchID, MatchID) 
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Returns an int, representing the hash code of the current MatchID.
(Overrides ObjectGetHashCode)
GetHashCode(MatchID) 
GetParentMatchID Returns the MatchID of the Virtual Match Parent. If this is a local match (or anything other than a Child Match) returns the existing ID
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToString
(Overrides ObjectToString)
TryParse Attempts to parse the input value matchId into a MatchID object. Returns a boolean indicating it's success

Fields

See Also