RealFuels.Tanks.ModuleFuelTanks.UpdateFuelInfo C# (CSharp) Method

UpdateFuelInfo() private method

private UpdateFuelInfo ( RealFuels.Tanks.FuelInfo f, string title ) : void
f RealFuels.Tanks.FuelInfo
title string
return void
        private void UpdateFuelInfo(FuelInfo f, string title)
        {
            FuelInfo found;
            if (!usedBy.TryGetValue(f.Label, out found))
            {
                usedBy.Add(f.Label, f);
            }
            else if (!found.names.Contains(title))
            {
                found.names += ", " + title;
            }
        }