private static ImageProvider GetProvider(ComicBook comic) { var provider = comic.CreateImageProvider(); if (provider == null) { return(null); } if (provider.Status != ImageProviderStatus.Completed) { provider.Open(false); } return(provider); }
private static ImageProvider GetProvider(ComicBook comic) { var provider = comic.CreateImageProvider(); if (provider == null) { return null; } if (provider.Status != ImageProviderStatus.Completed) { provider.Open(false); } return provider; }