mirror of
https://github.com/chylex/.NET-Community-Toolkit.git
synced 2024-10-17 06:42:48 +02:00
17 lines
564 B
C#
17 lines
564 B
C#
// Licensed to the .NET Foundation under one or more agreements.
|
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
namespace CommunityToolkit.Mvvm.Input.Internals;
|
|
|
|
/// <summary>
|
|
/// An interface for commands that know whether they support cancellation or not.
|
|
/// </summary>
|
|
internal interface ICancellationAwareCommand
|
|
{
|
|
/// <summary>
|
|
/// Gets whether or not the current command supports cancellation.
|
|
/// </summary>
|
|
bool IsCancellationSupported { get; }
|
|
}
|