IEssentialsBuilder.OnAppAction(Action<AppAction>) 方法

定义

public:
 Microsoft::Maui::Hosting::IEssentialsBuilder ^ OnAppAction(Action<Microsoft::Maui::ApplicationModel::AppAction ^> ^ action);
public Microsoft.Maui.Hosting.IEssentialsBuilder OnAppAction (Action<Microsoft.Maui.ApplicationModel.AppAction> action);
abstract member OnAppAction : Action<Microsoft.Maui.ApplicationModel.AppAction> -> Microsoft.Maui.Hosting.IEssentialsBuilder
Public Function OnAppAction (action As Action(Of AppAction)) As IEssentialsBuilder

参数

action
Action<AppAction>

返回

适用于