25 lines
626 B
C#
25 lines
626 B
C#
// 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; }
|
|
}
|
|
}
|