Esempio n. 1
0
        public Stream GetResource(string ResourceName)
        {
            string fullname = Dll.GetManifestResourceNames().FirstOrDefault(x => x.EndsWith(ResourceName));

            if (string.IsNullOrEmpty(fullname))
            {
                return(null);
            }
            return(Dll.GetManifestResourceStream(fullname));
        }
Esempio n. 2
0
 public List <string> FindResources(Func <string, bool> condition)
 {
     return(Dll.GetManifestResourceNames().Where(condition).ToList());
 }