Class ImageProviderExtensions
Helper methods for working with image providers
Inherited Members
Namespace: AdaptiveImages.Providers
Assembly: AdaptiveImages.dll
Syntax
public static class ImageProviderExtensions
Methods
GetOption(IImageProvider, string)
Looks for a specific image provider option recursively by ID
Declaration
public static IImageProviderOption? GetOption(this IImageProvider provider, string optionId)
Parameters
Type | Name | Description |
---|---|---|
IImageProvider | provider | |
string | optionId |
Returns
Type | Description |
---|---|
IImageProviderOption | Null if option ID isn't found |
Remarks
If an option ID appears multiple times in the provider options hierarchy, the first one found is returned