コード例 #1
0
 /// <summary>
 ///     Fired when the simulation is closing and needs to clear out any data structures that it created so the program can
 ///     exit cleanly.
 /// </summary>
 public override void Destroy()
 {
     _eventFactory = null;
 }
コード例 #2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="EventDirectorModule" /> class.
 ///     Initializes a new instance of the <see cref="T:TrailSimulation.Core.ModuleProduct" /> class.
 /// </summary>
 public EventDirectorModule()
 {
     // Creates a new event factory, and event history list.
     _eventFactory = new EventFactory();
 }