For Babelfish Release 1.12.3.10

MergeMethod Class

A MergeMethod class contains the processing methods to combine (or merge) result lists together. It is the actor (the class that does the work) to merge scores together.

To create an instance of MergeMethod use the FactoryAsync(TournamentMerger, MergedResultList) method.

Definition

Namespace: Scopos.BabelFish.DataActors.Tournaments
Assembly: BabelFish (in BabelFish.dll) Version: 1.12.3.10+306d87ab71d1aa659d07c082495f8eddb091ca7b
C#
public abstract class MergeMethod
Inheritance
Object    MergeMethod
Derived

Constructors

MergeMethod Constructor. Protected so end users can not call it directly. Instead, use the FactoryAsync(TournamentMerger, MergedResultList) method.

Properties

_mergeConfiguration Gets the MergeConfiguration instance in use.
EventNames List of non-top level EventNames the merge method adds to each participant's ResultCofScores. Examples might include "Average", "Sum", "High Score"
TopLevelEventname The top level event name that this merge methods adds to each participant's ResultCofScores. This event name SHOULD NOTE be included in .EventNames.
TournamentMerger Gets the TournamentMerger instance in use.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FactoryAsync Factory method to construct a concrete instance of a MergeMethod. It constructs the correct concrete class based on the passed in MergedResultList
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)
InitializeAsync Asynchronous portion of the constructor. Concrete classes do not have to immplemnet this method if they do not have any asynchronous calls.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Merge Method to calculate the merged events for one participant in the tournament. The merged event Score will be stored in the re.ResultCofScores dictionary.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also