Udostępnij za pośrednictwem


IPlatformElementConfiguration<TPlatform,TElement> Interfejs

Definicja

generic <typename TPlatform, typename TElement>
 where TPlatform : IConfigPlatform where TElement : Elementpublic interface class IPlatformElementConfiguration : Microsoft::Maui::Controls::IConfigElement<TElement>
public interface IPlatformElementConfiguration<out TPlatform,out TElement> : Microsoft.Maui.Controls.IConfigElement<out TElement> where TPlatform : IConfigPlatform where TElement : Element
type IPlatformElementConfiguration<'Platform, 'Element (requires 'Platform :> IConfigPlatform and 'Element :> Element)> = interface
    interface IConfigElement<'Element (requires 'Element :> Element)>
Public Interface IPlatformElementConfiguration(Of Out TPlatform, Out TElement)
Implements IConfigElement(Of Out TElement)

Parametry typu

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

Właściwości

Element (Odziedziczone po IConfigElement<T>)

Dotyczy