public void Handle(RichCommandLineContext context)
{
context.Intercept = true;
context.RefreshTokenInfo();
try
{
foreach (var handler in TabCompletionHandlers)
{
if (handler.TryTabComplete(context))
{
break;
}
}
}
catch(Exception ex)
{
if (ThrowOnTabCompletionHandlerException)
{
throw;
}
else
{
PowerLogger.LogLine("Tab completion handler threw exception: " + ex.ToString());
}
}
}