GetIcon() public méthode

public GetIcon ( Uri iconUrl, ITaskHandler handler ) : string
iconUrl System.Uri
handler ITaskHandler
Résultat string
Exemple #1
0
        public void TestGetIconCached()
        {
            const string icon1 = "http://0install.de/feeds/images/test1.png";

            _cache.GetIcon(new Uri(icon1), new SilentTaskHandler())
            .Should().Be(Path.Combine(_tempDir, new FeedUri(icon1).Escape()));
        }