Пример #1
0
 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]);
             }
         }
     }
 }
Пример #2
0
 public void SetCurrentContent(BundleData bundleData)
 {
     CurrentContentBundles.Clear();
     CurrentContentBundles.Add(bundleData);
 }