[SerializableAttribute]
public class RankingDirective : IReconfigurableRulebookObject| 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. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows 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 |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |