For Babelfish Release 1.11.1.3

EventComposite Class

An abstract term that represents both Events from a COURSE OF FIRE and Singulars from a COURSE OF FIRE. Event Composites can have one parent Event Composite and multiple children Event Composites.

Use the GrowEventTree() method to determine the Event Tree from a COURSE OF FIRE.

Definition

Namespace: Scopos.BabelFish.DataModel.Definitions
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
public class EventComposite : IEquatable<EventComposite>
Inheritance
Object    EventComposite
Implements
IEquatableEventComposite

Constructors

Properties

Calculation For an event composite, almost always "SUM" For a singularity, which doesn't have children it will be an empty string ""
Children 
EventAppellation 
EventName 
EventStyleMapping 
EventType 
HasChildren 
HasParent 
IsATopLevelStageStyle Helper method to identify Events that define a StageStyleMapping.

When an Event defines a StageStyleMapping, it means that all descendent shots fired within that Event will have been fired on the same target and withing the same STAGE STYLE. This method returns a list of EventComposites that have defined StageStyleMappings, and thus have distinct STAGE STYLES.

Parent 
RankingRuleMapping 
ResultListFormatDef 
ScoreFormat 
SingularType If and only if, this is a Singular, this field tells why kind of Singular it is. This field has no meaning if the EventThype is not Singular.
StageAppellation 
StageStyleMapping 

Methods

ClearCache 
Equals(EventComposite)Indicates whether the current object is equal to another object of the same type.
Equals(Object)Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FindEventComposite Searches the children of this Event Composite, for one with the passed in eventName and returns it. Returns null, if it could not be found.
FindExternalEvents Generates a Dictionary of all External Events to the Event Tree. Key is the EventName, Value is the EventComposite.
GetAllSingulars Returns a list of all descendants that are Singulars
GetEvents(EventtType) 
GetEvents(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) Returns a list of EvenComposites, that are children of this, and that have an EventType equal to one of the values passed in.
GetHashCodeServes as the default hash function.
(Overrides ObjectGetHashCode)
GetTopLevelStageStyleEvents When an Event defines a StageStyleMapping, it means that all descendent shots fired within that Event will have been fired on the same target and withing the same STAGE STYLE. This method returns a list of EventComposites that have defined StageStyleMappings, and thus have distinct STAGE STYLES.

It is possible for this method to return a list of one EventCompsite, if the Event itself defines a StageStyleMapping.

GetTypeGets the Type of the current instance.
(Inherited from Object)
GrowEventTree Generates the Event tree as defined by the passed in Course of Fire definition. the EventComposite that is passed back, is the top level Event in the tree.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Overrides ObjectToString)

See Also