Condividi tramite


ImageSourceServiceProviderExtensions.GetImageSourceService Method

Definition

Overloads

GetImageSourceService(IImageSourceServiceProvider, IImageSource)
GetImageSourceService<T>(IImageSourceServiceProvider)

GetImageSourceService(IImageSourceServiceProvider, IImageSource)

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

Parameters

imageSource
IImageSource

Returns

Applies to

GetImageSourceService<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 ^ GetImageSourceService(Microsoft::Maui::IImageSourceServiceProvider ^ provider);
public static Microsoft.Maui.IImageSourceService? GetImageSourceService<T> (this Microsoft.Maui.IImageSourceServiceProvider provider) where T : Microsoft.Maui.IImageSource;
static member GetImageSourceService : Microsoft.Maui.IImageSourceServiceProvider -> Microsoft.Maui.IImageSourceService (requires 'T :> Microsoft.Maui.IImageSource)
<Extension()>
Public Function GetImageSourceService(Of T As IImageSource) (provider As IImageSourceServiceProvider) As IImageSourceService

Type Parameters

T

Parameters

Returns

Applies to