зеркало из https://github.com/microsoft/Power-Fx.git
Fixing PA locale nullable (#2632)
This commit is contained in:
Родитель
3c7c076696
Коммит
580cd8639d
|
@ -159,7 +159,7 @@ namespace Microsoft.PowerFx.Intellisense
|
|||
}
|
||||
|
||||
public IntellisenseSuggestion(TexlFunction function, string exactMatch, UIString displayText, CultureInfo locale = null)
|
||||
: this(displayText, SuggestionKind.Function, SuggestionIconKind.Function, function.VerifyValue().ReturnType, exactMatch, -1, function.GetDescription(locale.Name), function.VerifyValue().Name, 0)
|
||||
: this(displayText, SuggestionKind.Function, SuggestionIconKind.Function, function.VerifyValue().ReturnType, exactMatch, -1, function.GetDescription(locale?.Name), function.VerifyValue().Name, 0)
|
||||
{
|
||||
Contracts.AssertValue(function);
|
||||
|
||||
|
@ -181,7 +181,7 @@ namespace Microsoft.PowerFx.Intellisense
|
|||
}
|
||||
|
||||
funcDisplayString.Append(')');
|
||||
_overloads.Add(new IntellisenseSuggestion(new UIString(funcDisplayString.ToString()), SuggestionKind.Function, SuggestionIconKind.Function, function.VerifyValue().ReturnType, exactMatch, count, function.GetDescription(locale.Name), function.Name, 0));
|
||||
_overloads.Add(new IntellisenseSuggestion(new UIString(funcDisplayString.ToString()), SuggestionKind.Function, SuggestionIconKind.Function, function.VerifyValue().ReturnType, exactMatch, count, function.GetDescription(locale?.Name), function.Name, 0));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче