Partager via


ImageSourceServiceProviderExtensions.GetRequiredImageSourceService Method

Definition

Overloads

GetRequiredImageSourceService(IImageSourceServiceProvider, IImageSource)
GetRequiredImageSourceService(IImageSourceServiceProvider, Type)
GetRequiredImageSourceService<T>(IImageSourceServiceProvider)

GetRequiredImageSourceService(IImageSourceServiceProvider, IImageSource)

Source:
ImageSourceServiceProviderExtensions.cs
Source:
ImageSourceServiceProviderExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::IImageSourceService ^ GetRequiredImageSourceService(Microsoft::Maui::IImageSourceServiceProvider ^ provider, Microsoft::Maui::IImageSource ^ imageSource);
public static Microsoft.Maui.IImageSourceService GetRequiredImageSourceService (this Microsoft.Maui.IImageSourceServiceProvider provider, Microsoft.Maui.IImageSource imageSource);
static member GetRequiredImageSourceService : Microsoft.Maui.IImageSourceServiceProvider * Microsoft.Maui.IImageSource -> Microsoft.Maui.IImageSourceService
<Extension()>
Public Function GetRequiredImageSourceService (provider As IImageSourceServiceProvider, imageSource As IImageSource) As IImageSourceService

Parameters

imageSource
IImageSource

Returns

Applies to

GetRequiredImageSourceService(IImageSourceServiceProvider, Type)

Source:
ImageSourceServiceProviderExtensions.cs
Source:
ImageSourceServiceProviderExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::IImageSourceService ^ GetRequiredImageSourceService(Microsoft::Maui::IImageSourceServiceProvider ^ provider, Type ^ imageSourceType);
public static Microsoft.Maui.IImageSourceService GetRequiredImageSourceService (this Microsoft.Maui.IImageSourceServiceProvider provider, Type imageSourceType);
static member GetRequiredImageSourceService : Microsoft.Maui.IImageSourceServiceProvider * Type -> Microsoft.Maui.IImageSourceService
<Extension()>
Public Function GetRequiredImageSourceService (provider As IImageSourceServiceProvider, imageSourceType As Type) As IImageSourceService

Parameters

imageSourceType
Type

Returns

Applies to

GetRequiredImageSourceService<T>(IImageSourceServiceProvider)

Source:
ImageSourceServiceProviderExtensions.cs
Source:
ImageSourceServiceProviderExtensions.cs
public:
generic <typename T>
 where T : Microsoft::Maui::IImageSource[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::IImageSourceService ^ GetRequiredImageSourceService(Microsoft::Maui::IImageSourceServiceProvider ^ provider);
public static Microsoft.Maui.IImageSourceService GetRequiredImageSourceService<T> (this Microsoft.Maui.IImageSourceServiceProvider provider) where T : Microsoft.Maui.IImageSource;
static member GetRequiredImageSourceService : Microsoft.Maui.IImageSourceServiceProvider -> Microsoft.Maui.IImageSourceService (requires 'T :> Microsoft.Maui.IImageSource)
<Extension()>
Public Function GetRequiredImageSourceService(Of T As IImageSource) (provider As IImageSourceServiceProvider) As IImageSourceService

Type Parameters

T

Parameters

Returns

Applies to