提交 7d65d5e2 编写于 作者: C CyrusNajmabadi

Add ability for callback to specify a message to display to the user.

上级 12769173
......@@ -14,6 +14,10 @@ protected FindUsagesContext()
{
}
public virtual void ReportMessage(string message)
{
}
public virtual void SetSearchLabel(string displayName)
{
}
......
......@@ -9,6 +9,14 @@ internal interface IFindUsagesContext
{
CancellationToken CancellationToken { get; }
/// <summary>
/// Report a message to be displayed to the user.
/// </summary>
void ReportMessage(string message);
/// <summary>
/// Set the title of the window that results are displayed in.
/// </summary>
void SetSearchLabel(string displayName);
Task OnDefinitionFoundAsync(DefinitionItem definition);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册