ApplicationHandler 类

定义

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

public ref class ApplicationHandler : Microsoft::Maui::Handlers::ElementHandler<Microsoft::Maui::IApplication ^, System::Object ^>
public class ApplicationHandler : Microsoft.Maui.Handlers.ElementHandler<Microsoft.Maui.IApplication,object>
type ApplicationHandler = class
    inherit ElementHandler<IApplication, obj>
Public Class ApplicationHandler
Inherits ElementHandler(Of IApplication, Object)
继承

构造函数

ApplicationHandler()

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

ApplicationHandler(IPropertyMapper)

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

ApplicationHandler(IPropertyMapper, CommandMapper)

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

字段

CommandMapper

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

Mapper

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

属性

MauiContext

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

(继承自 ElementHandler)
PlatformView

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

(继承自 ElementHandler<TVirtualView,TPlatformView>)
Services

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

(继承自 ElementHandler)
VirtualView

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

(继承自 ElementHandler<TVirtualView,TPlatformView>)

方法

ConnectHandler(TPlatformView)

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

(继承自 ElementHandler<TVirtualView,TPlatformView>)
CreatePlatformElement()

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

DisconnectHandler(TPlatformView)

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

(继承自 ElementHandler<TVirtualView,TPlatformView>)
Invoke(String, Object)

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

(继承自 ElementHandler)
MapCloseWindow(ApplicationHandler, IApplication, Object)

将抽象 CloseWindow(IWindow) 命令映射到特定于平台的实现。

MapOpenWindow(ApplicationHandler, IApplication, Object)

将抽象 OpenWindow(IWindow) 命令映射到特定于平台的实现。

MapTerminate(ApplicationHandler, IApplication, Object)

将抽象的“Terminate”命令映射到特定于平台的实现。

SetMauiContext(IMauiContext)

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

(继承自 ElementHandler)
SetVirtualView(IElement)

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

(继承自 ElementHandler)
UpdateValue(String)

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

(继承自 ElementHandler)

显式接口实现

IElementHandler.DisconnectHandler()

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

(继承自 ElementHandler)
IElementHandler.PlatformView

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

(继承自 ElementHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

(继承自 ElementHandler<TVirtualView,TPlatformView>)

扩展方法

GetRequiredService<T>(IElementHandler)

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

GetRequiredService<T>(IElementHandler, Type)

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

GetService<T>(IElementHandler)

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

GetService<T>(IElementHandler, Type)

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

GetServiceProvider(IElementHandler)

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

IsConnected(IElementHandler)

表示抽象 IApplication 视图及其特定于平台的实现的视图处理程序。

适用于