public static void getStringFromUrl(string url, Action <string> callback) { GameObject go = new GameObject(); TextDownloader downloader = (TextDownloader)go.AddComponent(typeof(TextDownloader)); downloader.StartDownload(url, callback); }
public XmlTextBlob(TextDownloader textDownloader) { this.textDownloader = textDownloader; }
public FlyweightShould() { this._textDownloader = Mock.Of <TextDownloader>(); }
public XmlTextBlobFactory(TextDownloader textDownloader) { this.textDownloader = textDownloader; }