共用方式為


ViewHandler(IPropertyMapper, CommandMapper) 建構函式

定義

初始化 ViewHandler 類別的新執行個體。

protected ViewHandler (Microsoft.Maui.IPropertyMapper mapper, Microsoft.Maui.CommandMapper? commandMapper = default);
new Microsoft.Maui.Handlers.ViewHandler : Microsoft.Maui.IPropertyMapper * Microsoft.Maui.CommandMapper -> Microsoft.Maui.Handlers.ViewHandler
Protected Sub New (mapper As IPropertyMapper, Optional commandMapper As CommandMapper = Nothing)

參數

mapper
IPropertyMapper

要用於此處理程式的預設對應程式。

commandMapper
CommandMapper

要用於這個處理程式的命令對應程式。

適用於