Move Login handlers to separate file (#1995)

* Move login handlers

* Move Login handlers to seperate file
This commit is contained in:
Karl Burtram
2023-04-06 16:07:45 -07:00
committed by GitHub
parent 9b08993753
commit 83b58a27a4
7 changed files with 282 additions and 460 deletions

View File

@@ -191,6 +191,14 @@ namespace Microsoft.SqlTools.ServiceLayer.Utility
&& server.ServerType != DatabaseEngineType.SqlAzureDatabase;
}
public static string FormatLanguageDisplay(LanguageDisplay? l)
{
if (l == null)
{
return null;
}
return string.Format("{0} - {1}", l.Language.Alias, l.Language.Name);
}
}
internal class LanguageChoice