共用方式為


IEssentialsBuilder.OnAppAction(Action<AppAction>) Method

Definition

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

Parameters

action
Action<AppAction>

Returns

Applies to