For Babelfish Release 1.11.1.3

RankingDirective Class

Definition

Namespace: Scopos.BabelFish.DataModel.Definitions
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
[SerializableAttribute]
public class RankingDirective : IReconfigurableRulebookObject
Inheritance
Object    RankingDirective
Implements
IReconfigurableRulebookObject

Constructors

Properties

AppliesTo A string indicating who to apply this RankingRules to. The first, and only the first, RankingRule must have a value “*”. The value must be one of the following: “*” to indicate to apply the rule to all participants in the event. “n..m” where n and m are integer values, representing the rank of the participants after the last RankingRule was applied. For example, “1..8” means to apply this RankingRule to participants currently in first through eighth place. Not required, assumed to be '*' if missing.
Comment Internal documentation comments. All text is ignored by the system.
ListOnly In the event that tie between two participants can not be broken, the TieBreakingRules in ListOnly are used to sort participants for display purposes only. The result engine must use the list of TieBreakingRules in the order listed. Once the tie is broke the remaining rules may be ignored. These rules do not affect a participants rank, only the order they are listed. This attribute is not required.
Rules An ordered list of TieBreakingRules to follow to sort two participants in an event. The result engine must use the list of Rule in order until the tie is broken. Once the tie is broken the remaining Rules are ignored. If the tie can not be broken given the set of Rules the two competitors are given the same rank. This attribute is required and must have one or more elements in the list.

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)
GetAppliesToStartAndCount Parses the AppliesTo value and returns the start index (item 1) and the count (item 2) to use to slice the array.
GetDefault Generates a default RankingDirective based on the passed in top level event name. If tied, participants are sorted using their DisplayName
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)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also