mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
13 lines
648 B
C#
13 lines
648 B
C#
// Copyright (c) Microsoft Corporation
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
namespace Microsoft.CommandPalette.UI.ViewModels;
|
|
|
|
/// <summary>
|
|
/// Encapsulates a navigation request within Command Palette view models.
|
|
/// </summary>
|
|
/// <param name="TargetViewModel">A view model that should be navigated to.</param>
|
|
/// <param name="NavigationToken"> A <see cref="CancellationToken"/> that can be used to cancel the pending navigation.</param>
|
|
public record AsyncNavigationRequest(object? TargetViewModel, CancellationToken NavigationToken);
|