Udostępnij przez


IImageSourceService<T> Interfejs

Definicja

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

Parametry typu

T
Ten parametr typu jest kontrawariantny. Oznacza to, że możesz użyć typu, który został przez Ciebie określony, lub dowolnego typu, który jest mniej pochodny. Aby uzyskać więcej informacji o kowariancji i kontrawariancji, zobacz Kowariancja i kontrawariancja w typach ogólnych.
Pochodne
Implementuje

Metody rozszerzania

GetPlatformImageAsync(IImageSourceService, IImageSource, IMauiContext)

Dotyczy