internal static IAssemblyNameWrap[] ConvertFileInfoArrayIntoIFileInfoWrapArray(AssemblyName[] assemblyNames) { AssemblyNameWrap[] wrapAssemblyNames = new AssemblyNameWrap[assemblyNames.Length]; for (int i = 0; i < assemblyNames.Length; i++) { wrapAssemblyNames[i] = new AssemblyNameWrap(assemblyNames[i]); } return(wrapAssemblyNames); }
/// <inheritdoc /> public IAssemblyName[] GetReferencedAssemblies() { AssemblyName[] assemblyNames = AssemblyInstance.GetReferencedAssemblies(); return(AssemblyNameWrap.ConvertFileInfoArrayIntoIFileInfoWrapArray(assemblyNames)); }
internal static IAssemblyName[] ConvertFileInfoArrayIntoIFileInfoWrapArray(AssemblyName[] assemblyNames) { AssemblyNameWrap[] wrapAssemblyNames = new AssemblyNameWrap[assemblyNames.Length]; for (int i = 0; i < assemblyNames.Length; i++) wrapAssemblyNames[i] = new AssemblyNameWrap(assemblyNames[i]); return wrapAssemblyNames; }