ImageSourceServiceProviderExtensions.GetImageSourceService Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetImageSourceService(IImageSourceServiceProvider, IImageSource) | |
GetImageSourceService<T>(IImageSourceServiceProvider) |
GetImageSourceService(IImageSourceServiceProvider, IImageSource)
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
- provider
- IImageSourceServiceProvider
- imageSource
- IImageSource
Returns
Applies to
GetImageSourceService<T>(IImageSourceServiceProvider)
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
- provider
- IImageSourceServiceProvider
Returns
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈