示例#1
0
        /// <summary>
        /// Get all compiled resources in assembly
        /// </summary>
        /// <param name="assembly"></param>
        /// <returns></returns>
        public static IEnumerable <AssemblyResource> GetAllResources(this Assembly assembly)
        {
            Expect.IsNotNull(assembly, nameof(assembly));

            return(AssemblyResource.FindAll(assembly));
        }