共用方式為


IImageSourceService<T> Interface

Definition

generic <typename T>
 where T : IImageSourcepublic interface class IImageSourceService : Microsoft::Maui::IImageSourceService
public interface IImageSourceService<in T> : Microsoft.Maui.IImageSourceService where T : IImageSource
type IImageSourceService<'T (requires 'T :> IImageSource)> = interface
    interface IImageSourceService
Public Interface IImageSourceService(Of In T)
Implements IImageSourceService

Type Parameters

T
This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Derived
Implements

Extension Methods

GetPlatformImageAsync(IImageSourceService, IImageSource, IMauiContext)

Applies to