Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public object ProvideValue(IServiceProvider serviceProvider) { if (string.IsNullOrEmpty(Source)) { return(null); } var sourceCurrentCulture = ResourcesHelper.GetImageRouteCurrentCulture(Source); var imageSource = ImageSource.FromResource(sourceCurrentCulture); var assembly = Assembly.GetExecutingAssembly(); assembly.GetManifestResourceStream(sourceCurrentCulture); return(imageSource); }