Beispiel #1
0
        public static string GetString(System.Reflection.Assembly assembly, string name)
        {
            string data;

            using (StreamReader streamReader = EmbeddedResourcesHelper.GetStream(assembly, name))
                data = streamReader.ReadToEnd();
            return(data);
        }
 public static string GetString(string name)
 {
     return(EmbeddedResourcesHelper.GetString(typeof(EmbeddedResourcesHelper).Assembly, name));
 }