Renaming callbacks to be more sane

This commit is contained in:
Benjamin Russell
2016-07-25 12:37:48 -07:00
parent 46032d3e2e
commit 6664de2252
4 changed files with 54 additions and 36 deletions

View File

@@ -34,8 +34,8 @@ namespace Microsoft.SqlTools.ServiceLayer
var profilePaths = new ProfilePaths(hostProfileId, "baseAllUsersPath", "baseCurrentUserPath");
SqlToolsContext sqlToolsContext = new SqlToolsContext(hostDetails, profilePaths);
// Create the service host
ServiceHost serviceHost = ServiceHost.Create();
// Grab the instance of the service host
ServiceHost serviceHost = ServiceHost.Instance;
// Initialize the services that will be hosted here
WorkspaceService<SqlToolsSettings>.Instance.InitializeService(serviceHost);