public void AddDependency(DependencyData newItem)
 {
     if (null == Dependencies)
     {
         Dependencies = new List<DependencyData>();
     }
     Dependencies.Add(newItem);
 }
 /// <summary>
 /// Get Dependency For RuntimeData
 /// </summary>
 /// <returns></returns>
 private static void GetDependencyForRuntimeData(RuntimeData runtimeData, ComponentMetadata metadata)
 {
     if (null != metadata.Runtime.Items1 && metadata.Runtime.Items1.Length > 0)
     {
         foreach (Dependency de in metadata.Runtime.Items1)
         {
             DependencyData dd = new DependencyData();
             dd.AssemblyName = de.AssemblyName;
             dd.BundleSymbolicName = de.BundleSymbolicName;
             runtimeData.AddDependency(dd);
         }
     }
 }