Sage Modeling and Simulation Library

IExecEventSelector..::..SelectThisEvent Method

Determines if the presented event is a candidate for the operation being considered, such as removal from the event queue.

Namespace:  Highpoint.Sage.SimCore
Assembly:  Sage4 (in Sage4.dll)

Syntax


bool SelectThisEvent(
	ExecEventReceiver eer,
	DateTime when,
	double priority,
	Object userData,
	ExecEventType eet
)

Parameters

eer
Type: Highpoint.Sage.SimCore..::..ExecEventReceiver
The ExecEventReceiver that is to receive this event.
when
Type: DateTime
The DateTime that the event was to have been fired.
priority
Type: Double
The priority of the event.
userData
Type: Object
The user data that was presented with this event.
eet
Type: Highpoint.Sage.SimCore..::..ExecEventType
The type of event (synchronous, batched, detachable, etc.)

Return Value

True if this event is a candidate for the operation (e.g. removal), False if not.