/// <summary> /// Get Assembly Data For RuntimeData /// </summary> /// <returns></returns> private static void GetAssemblyDataForRuntimeData(RuntimeData runtimeData, AddinMetadata metadata) { if (null != metadata.Runtime.Items && metadata.Runtime.Items.Length > 0) { foreach (ImportInfo de in metadata.Runtime.Items) { AssemblyData dd = new AssemblyData(); dd.AssemblyPatch = de.assembly; dd.IsWeb = de.isweb; runtimeData.SetAssembly(dd); } } }