private string ResolveObjectUrl(Uri uri) { byte[] imageData = EmbeddedResourceLoader.LoadResourceData(uri); string mimeType = converter.ToMimeTypeString(GetExtension(uri.GetLocalPath())); return(CreateObjectUrl(CreateBlob(imageData, mimeType))); }
private string ResolveObjectUrl(Uri uri) { byte[] imageData = EmbeddedResourceLoader.LoadResourceData(uri); string mimeType = converter.ToMimeTypeString(GetExtension(uri.GetLocalPath())); return(CreateObjectUrl(CreateBlob(imageData, mimeType))); }