/// <summary> /// Adds a new InSim object to the EventHelper. /// </summary> /// <param name="settings">The settings for this InSim object.</param> /// <returns>The new InSim object</returns> public InSim AddInSim(InSimSettings settings) { var insim = new InSim(); connections.Add(new Connection(insim, settings)); return(insim); }
public Connection(InSim insim, InSimSettings settings) { InSim = insim; Settings = settings; }