Beispiel #1
0
        /// <summary>
        /// 得到Gac中所有的AssemblyName
        /// </summary>
        /// <returns></returns>
        public static IEnumerable <AssemblyName> GetAssemblyNames()
        {
            //if (UfaEnvironment.IsMono)
            //    return Enumerable.Empty<AssemblyName>();

            return(GacCache.GetAssemblyNames());
        }
Beispiel #2
0
        /// <summary>
        /// 得到Gac中所有的AssemblyName
        /// </summary>
        /// <returns></returns>
        public static IEnumerable <AssemblyName> GetAssemblyNames()
        {
            if (NLiteEnvironment.IsMono)
            {
                return(Enumerable.Empty <AssemblyName>());
            }

            return(GacCache.GetAssemblyNames());
        }