-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving ISuggestionAwareFunction interface to Core.
- Loading branch information
1 parent
07c9a30
commit 5f93aed
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
src/libraries/Microsoft.PowerFx.Core/Functions/ISuggestionAwareFunction.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
|
||
namespace Microsoft.PowerFx.Core.Functions | ||
{ | ||
/// <summary> | ||
/// Interface used for TexlFunctions to override the default behavior for intellisense suggestions. | ||
/// </summary> | ||
internal interface ISuggestionAwareFunction | ||
{ | ||
// Returns true if it's valid to suggest ThisItem for this function as an argument. | ||
bool CanSuggestThisItem { get; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters