Sdílet prostřednictvím


IPropertyMapper<TVirtualView,TViewHandler> Rozhraní

Definice

generic <typename TVirtualView, typename TViewHandler>
 where TVirtualView : IElement where TViewHandler : IElementHandlerpublic interface class IPropertyMapper : Microsoft::Maui::IPropertyMapper
public interface IPropertyMapper<out TVirtualView,out TViewHandler> : Microsoft.Maui.IPropertyMapper where TVirtualView : IElement where TViewHandler : IElementHandler
type IPropertyMapper<'VirtualView, 'ViewHandler (requires 'VirtualView :> IElement and 'ViewHandler :> IElementHandler)> = interface
    interface IPropertyMapper
Public Interface IPropertyMapper(Of Out TVirtualView, Out TViewHandler)
Implements IPropertyMapper

Parametry typu

TVirtualView
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.
TViewHandler
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é
Implementuje

Metody

Add(String, Action<TViewHandler,TVirtualView>)
GetKeys() (Zděděno od IPropertyMapper)
GetProperty(String) (Zděděno od IPropertyMapper)
UpdateProperties(IElementHandler, IElement) (Zděděno od IPropertyMapper)
UpdateProperty(IElementHandler, IElement, String) (Zděděno od IPropertyMapper)

Metody rozšíření

AppendToMapping<TVirtualView,TViewHandler>(IPropertyMapper<TVirtualView,TViewHandler>, String, Action<TViewHandler,TVirtualView>)

Zadejte metodu, která se má spustit po existujícím mapování vlastností.

ModifyMapping<TVirtualView,TViewHandler>(IPropertyMapper<TVirtualView, TViewHandler>, String, Action<TViewHandler,TVirtualView,Action<IElementHandler, IElement>>)

Upravte mapování vlastností na místě.

PrependToMapping<TVirtualView,TViewHandler>(IPropertyMapper<TVirtualView,TViewHandler>, String, Action<TViewHandler,TVirtualView>)

Zadejte metodu, která se má spustit před existujícím mapováním vlastností.

Platí pro