ReadTextFileFromURL() публичный статический Метод

public static ReadTextFileFromURL ( string url, ZipDelegate zip = null ) : string
url string
zip ZipDelegate
Результат string
Пример #1
0
        public static NSDictionary DictionaryWithContentsOfURL(string path, FileUtils.ZipDelegate zip = null)
        {
            string text = FileUtils.ReadTextFileFromURL(path);

            if (zip != null)
            {
                text = zip.unZip(text);
            }
            return(DictionaryWithContentsOfString(text, zip));
        }
Пример #2
0
        public static NSArray ArrayWithContentsOfURL(string path, FileUtils.ZipDelegate zip = null)
        {
            string text = FileUtils.ReadTextFileFromURL(path);

            if (zip != null)
            {
                text = zip.unZip(text);
            }
            NSArray ary = ArrayWithContentsOfString(text);

            ary.zip = zip;
            return(ary);
        }