Show / Hide Table of Contents

Class ImageProviderExtensions

Helper methods for working with image providers

Inheritance
object
ImageProviderExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

☀
☾
In this article
Back to top
Documentation applies to: Adaptive Images 2.x
☀
☾