public void SetCurrentContent(string bundleName) { CurrentContentBundles.Clear(); foreach (PYBundlePriority key in Bundles.Keys) { for (int i = 0; i < Bundles[key].Count; i++) { if (Bundles[key][i].Name == bundleName) { CurrentContentBundles.Add(Bundles[key][i]); } } } }
public void SetCurrentContent(BundleData bundleData) { CurrentContentBundles.Clear(); CurrentContentBundles.Add(bundleData); }