ImageSourceServiceProviderExtensions.GetRequiredImageSourceService 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
GetRequiredImageSourceService(IImageSourceServiceProvider, IImageSource) | |
GetRequiredImageSourceService(IImageSourceServiceProvider, Type) | |
GetRequiredImageSourceService<T>(IImageSourceServiceProvider) |
GetRequiredImageSourceService(IImageSourceServiceProvider, IImageSource)
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
- provider
- IImageSourceServiceProvider
- imageSource
- IImageSource
Returns
Applies to
GetRequiredImageSourceService(IImageSourceServiceProvider, Type)
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
- provider
- IImageSourceServiceProvider
- imageSourceType
- Type
Returns
Applies to
GetRequiredImageSourceService<T>(IImageSourceServiceProvider)
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
- provider
- IImageSourceServiceProvider
Returns
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET MAUI