/// <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); }
/// <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); }