private static void AddToAllBundles(Tuple <string, string> bundleName, bool isShared = false) { if (!AllBundles.ContainsKey(bundleName.Item1)) { AllBundles.Add(bundleName.Item1, bundleName.Item2); } if (isShared) { if (!AllSharedBundles.Contains(bundleName.Item1)) { AllSharedBundles.Add(bundleName.Item1); } } }