SpaceAgeScenario.cs
/// <summary>
/// Adds a new VesselRecord if it is unique
/// </summary>
/// <param name="vesselRecord"></param>
Adds a new VesselRecord if it is unique
Adds a new VesselRecord if it is unique
public void AddVesselRecord(VesselRecord vesselRecord)
        {
            if (vesselRecord.Valid && !vessels.ContainsKey(vesselRecord.Id))
                vessels.Add(vesselRecord.Id, vesselRecord);
        }
public void AddVesselRecord ( VesselRecord vesselRecord ) { if ( vesselRecord . Valid && ! vessels . ContainsKey ( vesselRecord . Id ) ) vessels . Add ( vesselRecord . Id , vesselRecord ) ; }
Adds a new VesselRecord if it is unique
Adds a new VesselRecord if it is unique
vesselRecord
VesselRecord
None