示例#1
0
 /// <summary>
 /// If such handler is stored it will be removed from the list.
 /// </summary>
 /// <param name="eventHandler"></param>
 public virtual void RemovePostStepEventHandler(PostStepEventProcessor eventHandler)
 {
     postStepEventHandlers.Remove(eventHandler);
 }
示例#2
0
 /// <summary>
 /// Sets the Simulator's post-step event handler.
 /// </summary>
 /// <param name="eventHandler">you need to clean it up yourself</param>
 public virtual void AddPostStepEventHandler(PostStepEventProcessor eventHandler)
 {
     postStepEventHandlers.Add(eventHandler);
 }