Exemplo n.º 1
0
        private static List <string> FindFilePaths(IEnumerable <string> directories, string assemblyName)
        {
#if !SILVERLIGHT
            return(directories.Select(d => Path.Combine(d, assemblyName)).Where(f => IOHelpers.FileExists(f)).ToList());
#else
            return(new List <string>());
#endif
        }
Exemplo n.º 2
0
 private static List <string> FindFilePaths(IEnumerable <string> directories, string assemblyName)
 {
     return(directories.Select(d => Path.Combine(d, assemblyName)).Where(f => IOHelpers.FileExists(f)).ToList());
 }