GetAssembliesInDirectory() private static method

private static GetAssembliesInDirectory ( string strippedAssemblyDir, string assemblyName ) : IEnumerable
strippedAssemblyDir string
assemblyName string
return IEnumerable
Exemplo n.º 1
0
        private static string[] GetUserAssemblies(string strippedAssemblyDir)
        {
            List <string> stringList = new List <string>();

            foreach (string userAssembly in CodeStrippingUtils.s_UserAssemblies)
            {
                stringList.AddRange(CodeStrippingUtils.GetAssembliesInDirectory(strippedAssemblyDir, userAssembly));
            }
            return(stringList.ToArray());
        }
Exemplo n.º 2
0
        private static string[] GetUserAssemblies(string strippedAssemblyDir)
        {
            List <string> list = new List <string>();

            string[] userAssemblies = CodeStrippingUtils.UserAssemblies;
            for (int i = 0; i < userAssemblies.Length; i++)
            {
                string assemblyName = userAssemblies[i];
                list.AddRange(CodeStrippingUtils.GetAssembliesInDirectory(strippedAssemblyDir, assemblyName));
            }
            return(list.ToArray());
        }