Esempio n. 1
0
        public static void getStringFromUrl(string url, Action <string> callback)
        {
            GameObject     go         = new GameObject();
            TextDownloader downloader = (TextDownloader)go.AddComponent(typeof(TextDownloader));

            downloader.StartDownload(url, callback);
        }
Esempio n. 2
0
 public XmlTextBlob(TextDownloader textDownloader)
 {
     this.textDownloader = textDownloader;
 }
Esempio n. 3
0
 public FlyweightShould()
 {
     this._textDownloader = Mock.Of <TextDownloader>();
 }
Esempio n. 4
0
 public XmlTextBlobFactory(TextDownloader textDownloader)
 {
     this.textDownloader = textDownloader;
 }