Sdílet prostřednictvím


IElementConfiguration<TElement> Rozhraní

Definice

Pomocná rutina, která zpracovává ukládání a vyhledávání implementací specifických pro platformu

generic <typename TElement>
 where TElement : Elementpublic interface class IElementConfiguration
public interface IElementConfiguration<out TElement> where TElement : Element
type IElementConfiguration<'Element (requires 'Element :> Element)> = interface
Public Interface IElementConfiguration(Of Out TElement)

Parametry typu

TElement

Typ elementu.

Tento parametr typu je kovariantní. To znamená, že můžete použít buď zadaný typ, nebo libovolný typ, který je více odvozený. Další informace o kovarianci a kontravarianci najdete v tématu popisujícím kovarianci a kontravarianci u parametrického polymorfismu.
Odvozené

Metody

On<T>()

Vrátí instanci tohoto TElementobjektu pro konkrétní platformu, na které může být volána metoda specifická pro platformu.

Platí pro