1 instantiation of AppAction
Microsoft.Maui (1)
Hosting\EssentialsMauiAppBuilderExtensions.cs (1)
97
essentials.AddAppAction(new
AppAction
(id, title, subtitle, icon));
27 references to AppAction
Microsoft.Maui (9)
Hosting\EssentialsMauiAppBuilderExtensions.cs (9)
16
IEssentialsBuilder AddAppAction(
AppAction
appAction);
18
IEssentialsBuilder OnAppAction(Action<
AppAction
> action);
152
private static async void SetAppActions(IServiceProvider services, List<
AppAction
> appActions)
174
List<
AppAction
>? _appActions;
175
internal Action<
AppAction
>? AppActionHandlers;
178
internal List<
AppAction
>? AppActions => _appActions;
190
public IEssentialsBuilder AddAppAction(
AppAction
appAction)
192
_appActions ??= new List<
AppAction
>();
197
public IEssentialsBuilder OnAppAction(Action<
AppAction
> action)
Microsoft.Maui.Essentials (18)
AppActions\AppActions.netstandard.tvos.watchos.macos.tizen.cs (2)
12
public Task<IEnumerable<
AppAction
>> GetAsync() =>
15
public Task SetAsync(IEnumerable<
AppAction
> actions) =>
AppActions\AppActions.shared.cs (16)
19
/// Retrieves all the currently available <see cref="
AppAction
"/> instances.
21
/// <returns>A collection of <see cref="
AppAction
"/> available for this app.</returns>
22
Task<IEnumerable<
AppAction
>> GetAsync();
27
/// <param name="actions">A collection of <see cref="
AppAction
"/> that is to be set for this app.</param>
29
Task SetAsync(IEnumerable<
AppAction
> actions);
84
/// Retrieves all the currently available <see cref="
AppAction
"/> instances.
86
/// <returns>A collection of <see cref="
AppAction
"/> available for this app.</returns>
87
public static Task<IEnumerable<
AppAction
>> GetAsync()
93
/// <param name="actions"><see cref="
AppAction
"/> objects that will be set for this app.</param>
95
public static Task SetAsync(params
AppAction
[] actions)
101
/// <param name="actions">A collection of <see cref="
AppAction
"/> that is to be set for this app.</param>
103
public static Task SetAsync(IEnumerable<
AppAction
> actions)
187
public AppActionEventArgs(
AppAction
appAction)
193
public
AppAction
AppAction { get; }
197
/// The <see cref="
AppAction
"/> class lets you create and respond to app shortcuts from the app icon.
202
/// Initializes a new instance of the <see cref="
AppAction
"/> class.