Created
February 21, 2019 10:50
-
-
Save MartinZikmund/e20c1239ffa8cd369362f8e821eaa6e6 to your computer and use it in GitHub Desktop.
String extension to use FileImageExtensions in code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class StringImagePathExtensions | |
{ | |
public static FileImageSource ToFileImage(this string imagePath) => FileImageExtension.Convert(imagePath); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment