25 lines
626 B
C#
Raw Permalink Normal View History

2021-09-20 18:20:01 +02:00
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Threading;
using Microsoft.CodeAnalysis.Shared.Utilities;
namespace dnSpy.Roslyn.EditorFeatures.Host
{
internal enum WaitIndicatorResult
{
Completed,
Canceled,
}
internal interface IWaitContext : IDisposable
{
CancellationToken CancellationToken { get; }
bool AllowCancel { get; set; }
string Message { get; set; }
IProgressTracker ProgressTracker { get; }
}
}