Share via


IPropertyMapper<TVirtualView,TViewHandler> 接口

定义

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

类型参数

TVirtualView
这是协变类型参数。 即,可以使用指定的类型,也可以使用派生程度较高的任何类型。 有关协变和逆变的详细信息,请参阅泛型中的协变和逆变
TViewHandler
这是协变类型参数。 即,可以使用指定的类型,也可以使用派生程度较高的任何类型。 有关协变和逆变的详细信息,请参阅泛型中的协变和逆变
派生
实现

方法

Add(String, Action<TViewHandler,TVirtualView>)
GetKeys() (继承自 IPropertyMapper)
GetProperty(String) (继承自 IPropertyMapper)
UpdateProperties(IElementHandler, IElement) (继承自 IPropertyMapper)
UpdateProperty(IElementHandler, IElement, String) (继承自 IPropertyMapper)

扩展方法

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

指定要在现有属性映射后运行的方法。

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

修改就地的属性映射。

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

指定要在现有属性映射之前运行的方法。

适用于