Constructor
void Event()
There is nothing special with the constructor. If you have additional properties in the class, initialize them here.
Note: The reference to the simulator (and hence status and scenario) is dynamically bound during runtime when the event is scheduled.
Scheduling a new event
void Schedule(Event<Scenario, Status> evnt, TimeSpan delay)
Schedules the event evnt
after a time duration specified by delay
.
void Schedule(Event<Scenario, Status> evnt, DateTime time)
Schedules the event evnt
at simulation clock time specified by time
.
Immediate execution of an event
void Execute(Event<Scenario, Status> evnt)
Immediately executes the event evnt
.