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);
 }
示例#2
0
 /// <inheritdoc />
 public IAssemblyName[] GetReferencedAssemblies()
 {
     AssemblyName[] assemblyNames = AssemblyInstance.GetReferencedAssemblies();
     return(AssemblyNameWrap.ConvertFileInfoArrayIntoIFileInfoWrapArray(assemblyNames));
 }
示例#3
0
 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;
 }